While loading some data into a test cluster I using riak 1.0.0pre2 I came
across some sort of search related bug.
The cluster is configured with 3 nodes, N is 3, W is 1, WD is 0, and I am
connecting to protocol buffers.  The program to load data can be configured
to use one or more connections using non-blocking IO connected across the
three nodes.  I've successfully loaded several GB of data in a bucket with a
bitcask backend using 12 concurrent connections.

Then I decided to switching to a leveldb backend.  When I did so, about 10
seconds into loading data I get the following error:

2011-09-15 05:43:19.161 [error]
<0.17255.0>@riak_kv_put_fsm:decode_precommit:607 Problem invoking pre-commit
hook riak_search_kv_hook:precommit ->
error:{case_clause,{error,{r_val_unsatisfied,2,1}}}
[{riak_indexed_doc,put,3},{riak_search_kv_hook,precommit,1},{riak_kv_put_fsm,invoke_hook,4},{riak_kv_put_fsm,precommit,2},{gen_fsm,handle_msg,7},{proc_lib,init_p_do_apply,3}]

Now, the interesting part is that if I run the program again, using the same
input data, the loading succeeded without any errors.

This occurs with some of my other input files, although sometimes I need to
try loading them a few times before it succeeds.  Maybe there are some
records that trigger the issue, but only if a key is newly inserted?

Elias Levy
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to