Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvserver: the timeout of queued items should consider the rates of al… #83667

Merged
merged 1 commit into from
Jul 21, 2022

Commits on Jul 21, 2022

  1. kvserver: the timeout of queued items should consider the rates of al…

    …l item types in the queue
    
    When the kv.snapshot_recovery.max_rate and kv.snapshot_rebalance.max_rate
    settings are given different values, if the recovery rate is high and the
    rebalance rate is low, recovery snapshots can have a lower timeout than the
    expected duration of a single rebalance snapshot. This means that any steady
    rebalance load can starve recovery snapshots. To mitigate the issue, this PR
    sets the timeout for a snapshot based on min(kv.snapshot_recovery.max_rate,
    kv.snapshot_rebalance.max_rate).
    
    Release note: None
    shralex committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    ead518f View commit details
    Browse the repository at this point in the history