Loosing data with bucket types, custom backend and active data entropy

Oleksiy Krivoshey oleksiyk at gmail.com
Wed May 21 05:10:18 EDT 2014


I have a quite rare problem of lost data in Riak 2.0 beta1. I can hardly
replicate it but when it happens it looks like this order of operations:

(All operations are using bucket types).

1. write some data (KEY1) - ok
2. read that data (KEY1) - ok
3. message appears in riak console.log:
2014-05-21 08:15:03.328 [info]
<0.15793.157>@riak_kv_exchange_fsm:key_exchange:256 Repaired 1 keys during
active anti-entropy exchange of
{1450083655789255239155218544960687058564870569984,3} between {0,'
riak at'} and {1450083655789255239155218544960687058564870569984,'
riak at'}
4. read data (KEY1) - ok
5. write new data (KEY1) - ok
6. read data (KEY1) - no such key

All happens within 10-20 seconds.

Can someone give any hint on this?

Running riak2.0.0_beta1 on Ubuntu 14.04

Bucket type:


fs_chunks backend:

{<<"fs_chunks">>, riak_kv_bitcask_backend, [
        {data_root, "/var/lib/riak/fs_chunks"}


Oleksiy Krivoshey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140521/3bd01279/attachment.html>

More information about the riak-users mailing list