forked from basho/riak_kv
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (#27)
* 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 * Handle message outside of selective receive If the selective receive times out - then need to handle the release message * Add configurable block time
- Loading branch information
1 parent
aec41e6
commit 0c060a3
Showing
2 changed files
with
67 additions
and
11 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
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