One or more of your merge index buffer files is corrupt. Merge index is the backend that stores Riak Search indexes. Unfortunately this error msg doesn't tell you which partitions are corrupt. Depending on how comfortable you are and if this is a production environment you could edit the files by hand to remove the corrupted entry. You could also delete all buffer files but if all N copies are still in buffer files then those index entries will be lost. I can show you how to determine which files are corrupted but it will involve running Erlang and executing some Erlang code.
The merge index files should be found under /var/lib/riak/merge_index/<partition number>. -Z On Mon, Jul 23, 2012 at 12:58 PM, idmartin <idmcr...@gmail.com> wrote: > 2012-07-22 21:50:57 =CRASH REPORT==== > crasher: > initial call: riak_core_vnode:init/1 > pid: <0.2368.0> > registered_name: [] > exception exit: > > {{badmatch,{error,{badarg,[{erlang,binary_to_term,[<<131,108,0,0,0,9,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,5,116,105,109,101,115,109,0,0,0,22,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,51,53,45,49,52,49,51,110,7,1,90,161,115,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,2,8,193,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,5,99,105,118,105,108,109,0,0,0,22,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,51,53,45,49,52,49,51,110,7,1,90,161,115,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,97,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,3,119,104,111,109,0,0,0,22,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,51,53,45,49,52,49,51,110,7,1,90,161,115,27,216,194,4,108,0,0,0,1,0,0,0,181,131,108,0,0,0,2,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,5,116,105,116,108,101,109,0,0,0,9,73,110,116,101,103,114,105,116,121,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,50,48,51,110,7,1,27,255,185,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,8,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,5,116,105,116,108,101,109,0,0,0,5,87,111,109,101,110,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,50,48,51,110,7,1,27,255,185,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,3,106,106,0,0,2,37,131,108,0,0,0,6,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,8,105,110,116,101,114,110,101,116,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,42,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,3,119,104,111,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,2,52,65,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,6,114,101,115,99,117,101,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,61,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,5,113,117,105,116,101,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0>>]},{mi_buffer,read_value,2},{mi_buffer,open_inner,3},{mi_buffer,new,1},{mi_server,read_buffers,4},{mi_server,read_buf_and_seg,1},{mi_server,init,1},{gen_server,init_it,6}]}}},[{merge_index_backend,start,2},{riak_search_vnode,init,1},{riak_core_vnode,init,1},{gen_fsm,init_it,6},{proc_lib,init_p_do_apply,3}]} > in function gen_fsm:init_it/6 > in call from proc_lib:init_p_do_apply/3 > ancestors: [riak_core_vnode_sup,riak_core_sup,<0.93.0>] > messages: > > [{'EXIT',<0.2369.0>,{badarg,[{erlang,binary_to_term,[<<131,108,0,0,0,9,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,5,116,105,109,101,115,109,0,0,0,22,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,51,53,45,49,52,49,51,110,7,1,90,161,115,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,2,8,193,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,5,99,105,118,105,108,109,0,0,0,22,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,51,53,45,49,52,49,51,110,7,1,90,161,115,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,97,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,3,119,104,111,109,0,0,0,22,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,51,53,45,49,52,49,51,110,7,1,90,161,115,27,216,194,4,108,0,0,0,1,0,0,0,181,131,108,0,0,0,2,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,5,116,105,116,108,101,109,0,0,0,9,73,110,116,101,103,114,105,116,121,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,50,48,51,110,7,1,27,255,185,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,8,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,5,116,105,116,108,101,109,0,0,0,5,87,111,109,101,110,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,50,48,51,110,7,1,27,255,185,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,3,106,106,0,0,2,37,131,108,0,0,0,6,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,8,105,110,116,101,114,110,101,116,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,42,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,3,119,104,111,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,2,52,65,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,6,114,101,115,99,117,101,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0,0,1,104,2,100,0,1,112,107,0,1,61,106,104,4,104,3,109,0,0,0,4,112,111,115,116,109,0,0,0,9,112,111,115,116,95,116,101,120,116,109,0,0,0,5,113,117,105,116,101,109,0,0,0,21,56,57,55,45,56,56,45,49,51,52,48,49,51,51,51,52,48,45,54,52,56,110,7,1,238,161,204,27,216,194,4,108,0,0>>]},{mi_buffer,read_value,2},{mi_buffer,open_inner,3},{mi_buffer,new,1},{mi_server,read_buffers,4},{mi_server,read_buf_and_seg,1},{mi_server,init,1},{gen_server,init_it,6}]}}] > links: [<0.97.0>] > dictionary: [] > trap_exit: true > status: running > heap_size: 377 > stack_size: 24 > reductions: 701 > neighbours: > > > > > -- > View this message in context: > http://riak-users.197444.n3.nabble.com/Riak-Crashing-Constantly-tp4024737p4024744.html > Sent from the Riak Users mailing list archive at Nabble.com. > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com