Expose number of keys mvcc_incremental_iterator skips over for better resource accounting #68234
Labels
A-kv
Anything in KV that doesn't belong in a more specific category.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-kv
KV Team
Is your feature request related to a problem? Please describe.
When backup runs an export request it could iterate over large amount of non matching keys which could cause cpu starvation for higher priority requests. This is limited to certain extent by reducing size of single request, but if number of matching keys is low it doesn't allow efficiently throttling backups.
Describe the solution you'd like
Provide limits for processed keys during iteration regardless of the fact that they match export criteria or not.
Additional context
Part of #66486
The text was updated successfully, but these errors were encountered: