Skip to content

store.go merge range metadata cleanup after remove replica#2395

Closed
il9ue wants to merge 12 commits intocockroachdb:masterfrom
il9ue:master
Closed

store.go merge range metadata cleanup after remove replica#2395
il9ue wants to merge 12 commits intocockroachdb:masterfrom
il9ue:master

Conversation

@il9ue
Copy link
Copy Markdown
Contributor

@il9ue il9ue commented Sep 7, 2015

Based on code comment, try to check if there are remained metadata after remove replica on mergeRange function.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
All committers of the pull request should sign our Contributor License Agreement in order to get your pull request merged.
1 out of 2 committers have signed the CLA.

✅ il9ue
❌ ilque


ilque seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account (for further information, click here).

storage/store.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Metadata is more than just the range descriptor: it's also all the raft state and other stats. Basically, everything that calls MakeRangeIDKey in

func MakeRangeIDKey(rangeID proto.RangeID, suffix, detail proto.Key) proto.Key {

@tamird tamird closed this in #2604 Sep 22, 2015
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