-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve DC and InterDC Functionality (#408)
* Test case for issue #400 * Removed stable riak metadata and improved create dc. * Changed level of pending changes log messages * Added a better named function to add nodes to a current dc * Changed description and test case for dc descriptors. Fixed #400 * Reverted handle call for periodic updates, not needed * Bumped to version 0.2.2 * Reduced severity of log message for missing external_descriptors * Update include/antidote.hrl * Added leave_dc functionality We maintain our own dc id based on the riak_core_ring:cluster_name/1 command. Riak maintains the cluster name itself, and contrary to the comment in dc_utilities, it is restored on fail and restart correctly, even if all nodes fail at the same time. This caused errors in maintaining the ring members after simplifying the create_dc function and errors in shard count meta data. Switching back to the riak internal meta data (which is managed and updated by riak_core anyway) fixes these issues. The create_dc simplification also improved joining an empty cluster significantly (10 seconds for 8 shards). This is also work towards being able to add/remove nodes dynamically to scale after some time elapsed. Co-Authored-By: Peter Zeller <[email protected]>
- Loading branch information
1 parent
a597f73
commit f6bf21b
Showing
21 changed files
with
218 additions
and
353 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
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.