Skip to content

LevelDB error #2

@ghost

Description

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                                           <<\"fdhadzh@gmail.com\">>,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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions