Expected vs Actual Bucket Behavior

Justin Sheehy justin at basho.com
Wed Jul 21 13:50:07 EDT 2010


Hi, Alexander.

On Wed, Jul 21, 2010 at 1:36 PM, Alexander Sicular <siculars at gmail.com> wrote:

> uses a separate bitcask per-bucket per-partition. What is a partition here? A
> vnode or a physical host or something else?

My apologies.  Given that it was in our bugzilla I let myself use some
Riak-internals jargon without explanation.

In this context, a partition is a logical segment of the ring space,
managed by a vnode process on a given physical host.  There is a
1-to-1 mapping between a vnode process and a partition.

The idea is that right now the bitcask backend stores all data in a
given partition together in a single bitcask instance.  The
alternative backend under discussion would break that up, such that
within a partition (and thus in each vnode), there would be a bitcask
instance for every bucket that had any data.

Does that help to clarify?

-Justin




More information about the riak-users mailing list