Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LevelDB error #2

Open
ghost opened this issue Oct 5, 2016 · 2 comments
Open

LevelDB error #2

ghost opened this issue Oct 5, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 5, 2016

When i changed storage_backend to leveldb (indexes) i got an errors:

ClientError|[Cluster] all retries exhausted and/or no nodes available to execute command|InnerError|RiakError|0|Error processing incoming message: error:{case_clause,\n                                          {rpbindexreq,<<\"users\">>,\n                                           <<\"email_bin\">>,eq,\n                                           <<\"[email protected]\">>,undefined,\n                                           undefined,undefined,undefined,\n                                           undefined,undefined,300000,\n                                           <<\"default\">>,undefined,undefined,\n                                           undefined,undefined}}:[{riak_kv_pb_index,\n                                                                   decode,2,\n                                                                   [{file,\n                                                                     \"src/riak_kv_pb_index.erl\"},\n                                                                    {line,\n                                                                     62}]},\n                                                                  {riak_api_pb_server,\n                                                                   connected,\n                                                                   2,\n                                                                   [{file,\n                                                                     \"src/riak_api_pb_server.erl\"},\n                                                                    {line,\n                                                                     219}]},\n                                                                  {riak_api_pb_server,\n                                                                   decode_buffer,\n                                                                   2,\n                                                                   [{file,\n                                                                     \"src/riak_api_pb_server.erl\"},\n                                                                    {line,\n                                                                     364}]},\n                                                                  {gen_fsm,\n                                                                   handle_msg,\n                                                                   7,\n                                                                   [{file,\n                                                                     \"gen_fsm.erl\"},\n                                                                    {line,\n                                                                     505}]},\n                                                                  {proc_lib,\n                                                                   init_p_do_apply,\n                                                                   3,\n                                                                   [{file,\n                                                                     \"proc_lib.erl\"},\n                                                                    {line,\n                                                                     239}]}]
2016-10-05 17:46:50.036 [notice] <0.2140.0> Data directory /var/lib/riak/leveldb is not mounted with 'noatime'. Please remount its disk with the 'noatime' flag to improve performance.

Using prestart hook:

#!/usr/bin/env bash

# Change storage backend to leveldb
sed -i -r "s#storage_backend = (.*)#storage_backend = leveldb#g" $RIAK_CONF

But when i changed docker-image to 2.1.4 (not ubuntu-2.1.4 or centos) and changed config manually i got no errors.

@jbrisbin
Copy link
Contributor

@fdhadzh I assume you had the /var/lib/riak volume mounted? Were you using just the normal local disk driver for the volume? What host OS were you using?

@mdigan
Copy link

mdigan commented Oct 31, 2016

Hi @fdhadzh do you still need assistance with this issue?

cc @jbrisbin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants