Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ring id optimization in riak_kv_ensembles
Since the ring does not change when bucket types are activated we remove the check for a changing ring id that was supposed to prevent unnecessary work. Leaving the optimization in would require changing riak_core to trigger on cluster metadata changes in addition to ring changes. This change thus prevents us from having to change riak_core at the expense of some extra work to check if the ensembles have changed when they probably haven't.
- Loading branch information
1 parent
71016f2
commit 59883e4
Showing
1 changed file
with
9 additions
and
28 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
59883e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from jtuple
at 59883e4
59883e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging basho/riak_kv/bugfix/ensemble-creation-on-bucket-type-activate = 59883e4 into borshop-integration-1008-bugfix/ensemble-creation-on-bucket-type-activate
59883e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basho/riak_kv/bugfix/ensemble-creation-on-bucket-type-activate = 59883e4 merged ok, testing candidate = 3489f5b
59883e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.bos1/builders/test-riak_kv/builds/1611
59883e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding develop to borshop-integration-1008-bugfix/ensemble-creation-on-bucket-type-activate = 3489f5b