Skip to content

Conversation

@benesch
Copy link
Contributor

@benesch benesch commented Jul 3, 2018

When extracting replica cleanup into a helper function,
Store.unlinkReplicaByRangeIDLocked, in d404a3f, I missed this code path.

Release note: None

@benesch benesch requested review from a team and nvb July 3, 2018 22:30
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we need to lock the store mu?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤦‍♂️ thanks

When extracting replica cleanup into a helper function,
Store.unlinkReplicaByRangeIDLocked, in d404a3f, I missed this code path.

Release note: None
@benesch benesch force-pushed the more-unlink-cleanup branch from c14ca96 to d24eadb Compare July 3, 2018 22:34
@benesch
Copy link
Contributor Author

benesch commented Jul 3, 2018

bors r=nvanbenschoten

craig bot pushed a commit that referenced this pull request Jul 3, 2018
27138: storage: use replica cleanup function in yet another code path r=nvanbenschoten a=benesch

When extracting replica cleanup into a helper function,
Store.unlinkReplicaByRangeIDLocked, in d404a3f, I missed this code path.

Release note: None

Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
@craig
Copy link
Contributor

craig bot commented Jul 3, 2018

Build succeeded

@craig craig bot merged commit d24eadb into cockroachdb:master Jul 3, 2018
@benesch benesch deleted the more-unlink-cleanup branch July 4, 2018 01:43
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.

3 participants