-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
storage: synchronize replica destruction on readOnlyCmdMu #10583
Conversation
This causes TestReplicaCommandQueueInconsistent to deadlock. I'm investigating. |
Probably not a problem in practice since `Replica.mu.destroyed` is only ever written once, but this code still smelled.
This ready for a look. |
Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, 1 of 1 files at r4, 1 of 1 files at r5, 2 of 2 files at r6. pkg/storage/store.go, line 2034 at r7 (raw file):
Was there a purpose to the movement of this deletion? Seemed more consistent where it was previously (next to the other map deletions). Comments from Reviewable |
Review status: 2 of 3 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. pkg/storage/store.go, line 2034 at r7 (raw file):
|
This change is