-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read repair - configure to repair primary only (#1844)
* Read repair - configure to repair primary only By default, the behaviour should be unchanged. however it is now configurable to read repair primary vnodes only - fallback vnodes will not be repaired on failing GETs, they will only receive new PUTs. See schema change for more details. * get_option returns value not {K, V} * Add ability to suspend AAE * Add logging of read repairs Initially to troubleshoot in test - but perhaps of generic use. * Handle handoff put through standard put code Rather than replicate piecemeal the standard PUT code within do_diffobj_put/3, instead use do_handoff_put/3 and use standard prepare_put/2 and perform_put/3 functions used in normal PUTs. The effect of this is that any optimisations in the normal PUT workflow, will now automatically be used for handoffs. Of particular relevance at this point is the HEAD (not GET) before PUT optimisation available with leveled backend. If there are large objects, and objects which already exist in the receiving vnode are to be handed off (such as in hinted handoff), then this increases efficiency. Some spec improvements to help with some editors that do not like fun() type. Some indent reductions to improve readability. * Make HookReason part of PutArgs This allows the same code to be used for both handoff and put. * Revert defaulting of properties As riak_core updated to ensure bucket types are exchanged prior to join committing * Add helpful operator functions to riak_client To make recovery of nodes easier, adding some helper functions to riak_client. * Update branches Remove legacy thumbs * Update rebar.config
- Loading branch information
1 parent
1e19c32
commit fbb5363
Showing
8 changed files
with
262 additions
and
201 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.