forked from basho/riak_kv
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use selective receive to allow for vnode to be blocked
Block and unblock a vnode when triggering a repair. Otherwise their is a potential race condition: - aae_controller is triggered into repair mode, queueing all updates to be re-applied after rebuild complete - update is applied to leveled backend by vnode - snapshot is taken for rebuild (including update) - message is cast to aae_controller with update ... which will be queued and applied twice - update is queue
- Loading branch information
1 parent
6e39282
commit 43fab28
Showing
1 changed file
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters