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: make AdminRelocateRange work with non-voting replicas #56197

Merged

Commits on Jan 7, 2021

  1. kvserver: refactor testing utilities dealing with range splits

    This commit extracts some existing testing methods to be more general.
    so they can be reused for testing merge queue behavior with non-voting
    replicas.
    
    Release note: None
    aayushshah15 committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    867340b View commit details
    Browse the repository at this point in the history
  2. kvserver, roachpb: rename ReplicaDescriptors to ReplicaSet

    This commit renames `ReplicaDescriptors`, which provides some utility
    methods over a `[]ReplicaDescriptor`. This is because the current naming
    makes it hard/confusing to add new methods that return another
    `ReplicaDescriptors` instead of the underlying slice.
    
    Release note: None
    aayushshah15 committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    d2e7818 View commit details
    Browse the repository at this point in the history
  3. kvserver: make AdminRelocateRange work with non-voting replicas

    This commit teaches `RelocateRange` to work with non-voters. This lets
    the merge queue rebalance a range that has non-voters so the merge can
    actually proceed, as range merges require that replica sets of the LHS
    and RHS ranges must be aligned.
    
    Release note: None
    aayushshah15 committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    bfe698a View commit details
    Browse the repository at this point in the history