Skip to content

Commit

Permalink
Documented ring size should be power of 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Meredith committed Jun 9, 2010
1 parent 39708ae commit ee7a5cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/riak_core/ebin/riak_core.app
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
%% Default location of ringstate
{ring_state_dir, "data/ring"},

%% Default ring creation size
%% Default ring creation size. Make sure it is a power of 2,
%% e.g. 16, 32, 64, 128, 256, 512 etc
{ring_creation_size, 64},

%% Default gossip interval (milliseconds)
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/riak-0.11.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ Bugs Fixed
193 - list keys sometimes uses downed nodes. Fixed.
208 - deleting a key with a post-commit hook set crashed riak. Fixed.

Known Issues
------------
* During testing we discovered an issue where nodes do not leave the ring
cleanly is the number of partitions is not a power of 2. Until this is
resolved, only ring sizes that are powers of 2 should be chosen (e.g.
16, 32, 64, 256, 1024). The default ring size is 64 and is unaffected.

0 comments on commit ee7a5cf

Please sign in to comment.