Skip to content

Conversation

@petermattis
Copy link
Collaborator

@petermattis petermattis commented Nov 28, 2016

Store.{add,remove}Placeholder need to be called while holding
Replica.raftMu. This wasn't being done in Store.processReady which
allowed a placeholder to be removed prematurely.

Closes #10637


This change is Reviewable

Store.{add,remove}Placeholder need to be called while holding
Replica.raftMu. This wasn't being done in Store.processReady which
allowed a placeholder to be removed prematurely.

Closes cockroachdb#10637
@tamird
Copy link
Contributor

tamird commented Nov 28, 2016

:lgtm_strong:


Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from Reviewable

@petermattis petermattis merged commit f332c54 into cockroachdb:master Nov 28, 2016
@petermattis petermattis deleted the pmattis/test-remove-placeholder-race branch November 28, 2016 15:21
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.

2 participants