Merge problems in multi-backend with bitcask...

Anthony Molinaro anthonym at alumni.caltech.edu
Thu Aug 9 13:16:36 EDT 2012


Hi Denis,

   I believe we ran into the same problem, and worked with Basho to get
it fixed in the 1.2 release.  We haven't yet upgraded to 1.2, but plan
to do so in the next few days.  You might try it to see if it doesn't
solve your problem.  We were told this commit should fix it

https://github.com/basho/riak_kv/commit/169df507e73110cf61df71f21bd6b378239628c1

HTH,

-Anthony

On Tue, Jul 24, 2012 at 12:32:17PM +0400, Denis Barishev wrote:
> Hello!
> 
> We use multibackend where each backend is a bitcask backend. A few
> days ago riak began to merge and it seems that it got into eternal
> cycle. Cuz it's trying to merge unreasonably long:
> 
> look
>  1.2G    /var/lib/riak/kv_bitcask/exp_2month
>  69M    /var/lib/riak/kv_bitcask/exp_1day
> 
> And these to backends are being merged already for 1 day!!! It seems
> that riak stuck. What can we do?
> 
> (riak at 192.168.152.86)1> 08:20:17.554 [info] Merged ["/var/lib/riak/kv_bitcask/exp_2month/519518160144969396705216092879616229643319771136",[],["/var/lib/riak/kv_bitcask/exp_2month/519518160144969396705216092879616229643319771136/1341241781.bitcask.data"]]
> in 1.584775 seconds.
> 
> (riak at 192.168.152.86)1> 08:20:18.823 [info] Merged ["/var/lib/riak/kv_bitcask/exp_1day/890602560248518965780370444936484965102833893376",[],["/var/lib/riak/kv_bitcask/exp_1day/890602560248518965780370444936484965102833893376/1341246223.bitcask.data"]]
> in 0.063074 seconds.
> 
> (riak at 192.168.152.86)1> 08:20:19.857 [info] Merged ["/var/lib/riak/kv_bitcask/exp_2month/890602560248518965780370444936484965102833893376",[],["/var/lib/riak/kv_bitcask/exp_2month/890602560248518965780370444936484965102833893376/1341241804.bitcask.data"]]
> in 0.994357 seconds.
> 
> (riak at 192.168.152.86)1> 08:20:20.298 [info] Merged ["/var/lib/riak/kv_bitcask/exp_1day/176978713895539025251227460211737396911460581376",[],["/var/lib/riak/kv_bitcask/exp_1day/176978713895539025251227460211737396911460581376/1341246181.bitcask.data"]]
> in 0.057028 seconds.
> 
> (riak at 192.168.152.86)1> 08:20:22.106 [info] Merged ["/var/lib/riak/kv_bitcask/exp_2month/176978713895539025251227460211737396911460581376",[],["/var/lib/riak/kv_bitcask/exp_2month/176978713895539025251227460211737396911460581376/1341241773.bitcask.data"]]
> in 1.768717 seconds.
> 
> (riak at 192.168.152.86)1> 08:20:23.108 [info] Merged ["/var/lib/riak/kv_bitcask/exp_1day/1233142006497949337234359077604363797834693083136",[],["/var/lib/riak/kv_bitcask/exp_1day/1233142006497949337234359077604363797834693083136/1341246813.bitcask.data"]]
> in 0.06311 seconds.
> 
> 
> Regards,
> Denis
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-- 
------------------------------------------------------------------------
Anthony Molinaro                           <anthonym at alumni.caltech.edu>




More information about the riak-users mailing list