Fabio,

Two things come to mind given your `bad_crc` error.  Either a hintfile is
corrupt or one or more entries in the data files is corrupt.  My guess is
the latter since this happens during a fold operation.  I think code exists
to automatically purge corrupted entries but my knowledge of bitcask is
minimal.  I hope that my response might elicit advise from someone more
familiar with bitcask.

-Z

On Fri, Jul 13, 2012 at 2:43 PM, Fabio Sato <[email protected]> wrote:

> Hello all,
>
> I'm using Riak to store images, acting as a cache backend for a web map
> server.
>
> We started using it in with just one node and we have run into problems
> with corruption of data files, so we decided
> to set up a new clean installation.
>
> Now we have 2 servers with 4 riak instances each (8 node cluster) and we
> are having trouble updating some of our keys.
>
> Trying to update a key with curl returns a http timeout error:
>
> curl: (28) Operation timed out after 10005 milliseconds with 0 bytes
> received
>
> Checking logfiles, it seems that we are having file data corruption again
> so I would like to ask you if we have something wrong in our configuration:
>
> 2012-07-13 11:14:12.284 [error] <0.31160.14> CRASH REPORT Process
> <0.31160.14> with 0 neighbours exited with reason: no case clause matching
> {error,bad_crc,{state,#Ref<0.0.38.40765>,"570899077082383952423314387779798054553098649600",[{async_folds,true},{vnode_vclocks,true},{included_applications,[]},{allow_strfun,false},{reduce_js_vm_count,6},{storage_backend,riak_kv_bitcask_backend},{legacy_keylisting,false},{hook_js_vm_count,2},{listkeys_backpressure,true},{mapred_name,"mapred"},{stats_urlpath,"stats"},{legacy_stats,true},{js_thread_stack,16},{riak_kv_stat,true},{add_paths,[]},{http_url_encoding,on},{map_js_vm_count,8},{mapred_2i_pipe,...},...],...}}
> in riak_kv_vnode:prepare_put/3 in gen_server:terminate/6
>
> We are using bitcask on a xfs filesystem. Our riak version is commit hash
> 0c49d24e8ea5d3cf9d41427b6b9cdac69bb99135 and we are running it on a Debian
> Squeeze 3.2.0-2 kernel.
>
>
>
> Thanks,
> Fábio Sato
>
>
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to