Skip to content

kvserver: reactively adjust paused replicas when overloaded stores set changes #84465

@tbg

Description

@tbg

Is your feature request related to a problem? Please describe.

In the initial implementation of pausing followers, #84252, we pass the current set of overloaded followers to each unquiesced replica tick, and compute the set of followers to pause. This could be somewhat expensive.

Describe the solution you'd like

We should measure the overhead and if it is significant, switch to a system where we only recompute the pausing if there are material changes to the set of overloaded stores which have a follower on this replica.

Describe alternatives you've considered

Additional context

Related to #84252

Jira issue: CRDB-17674

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-kv-replicationRelating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV Team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions