Permalink
Browse files

Documented ring size should be power of 2.

  • Loading branch information...
1 parent 39708ae commit ee7a5cfbd61ee890327d135b9fc5cbe18c9e1b3c @jonmeredith jonmeredith committed Jun 9, 2010
Showing with 8 additions and 1 deletion.
  1. +2 −1 apps/riak_core/ebin/riak_core.app
  2. +6 −0 releasenotes/riak-0.11.0.txt
@@ -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)
@@ -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.