Skip to content

kvserver: determine if leaseholder is removed using proposed replica …#74549

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
shralex:remove_leaseholder_step4
Jan 7, 2022
Merged

kvserver: determine if leaseholder is removed using proposed replica …#74549
craig[bot] merged 1 commit intocockroachdb:masterfrom
shralex:remove_leaseholder_step4

Conversation

@shralex
Copy link
Copy Markdown
Contributor

@shralex shralex commented Jan 6, 2022

…descriptor

Previosly, the determination of whether a leaseholder is being removed was made
by looking at the proposed changes. As a step towards #74077
we'd like to instead look at the replica descriptor that the reconfiguration change would result in.
This prepares the ground for making a distinction between incoming and outgoing replicas in the next PR.
This PR should not cause any change in behavior.

Release note: None

…descriptor

Previosly, the determination of whether a leaseholder is being removed was made
by looking at the proposed changes. As a step towards cockroachdb#74077
we'd like to instead look at the replica descriptor that the reconfiguration change would result in.
This prepares the ground for making a distinction between incoming and outgoing replicas in the next PR.
This PR should not cause any change in behavior.

Release note: None
@shralex shralex requested a review from a team as a code owner January 6, 2022 20:15
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@shralex shralex requested review from aayushshah15 and nvb January 6, 2022 20:15
Copy link
Copy Markdown
Contributor

@aayushshah15 aayushshah15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@shralex
Copy link
Copy Markdown
Contributor Author

shralex commented Jan 6, 2022

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 7, 2022

Build succeeded:

@craig craig bot merged commit 2ffb8b2 into cockroachdb:master Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants