Number of replica for Luwak
bryan at basho.com
Wed Feb 23 10:11:47 EST 2011
On Fri, Feb 18, 2011 at 8:54 PM, Les Mikesell <lesmikesell at gmail.com> wrote:
> What happens if there is a read of the object while it is in the process of
> being updated if the update is several different operations?
Luwak streams work in an "all or nothing" fashion. That is, no read
will see the result of any stream until that stream is flushed. Luwak
blocks are immutable, so old file trees will still reference
completely valid old blocks while new ones are being written. The
last action of flushing a stream is to point the file-metdata object
(in the luwak_tld bucket) at the head of the new tree.
A flush will only occur when a stream closes, unless your program
explicitly calls luwak_put_stream:flush/1.
More information about the riak-users