Re: Bitcask folder 0

2011-09-14 Thread Aphyr
Yep, that's partition 0. Partitions are spaced evenly around the hash range, which is [0, 2^160) and cover hashes starting at their name. If you have two partitions, they'll be {0, N/2}. three partitions: {0, N/3, 2N/3}. --Kyle On 09/14/2011 10:56 AM, Jeremy Raymond wrote: In /var/lib/riak/b

Re: Bitcask folder 0

2011-09-14 Thread Sean Cribbs
Yes, vnodes/partitions are named by their integer offset into the SHA1 hash space (2^160). The first one is '0'. On Wed, Sep 14, 2011 at 1:56 PM, Jeremy Raymond wrote: > In /var/lib/riak/bitcask there are a bunch of data directories whose name > are a string of numbers. On once node I noticed I

Bitcask folder 0

2011-09-14 Thread Jeremy Raymond
In /var/lib/riak/bitcask there are a bunch of data directories whose name are a string of numbers. On once node I noticed I have a directory whose name is 0. This seemed out of place as the directory names are typically a large string of numbers. Is this 0 directory normal? - Jeremy __