> - or enable multiple backends in the config file
> - or specifically indicate the backend in the bucket prop
> (which still requires the backend to be made available in app.config)
Your last two points there are the same thing - multi_backend. Either
way, whichever backend receives the object, only the items stored in
LevelDB will be available via indexes.
There seems to be a problem using indexes via multi_backend:
---
2011-09-23 22:28:11.205 [error] <0.766.0> gen_fsm <0.766.0> in state
waiting_results terminated with reason:
{error,{indexes_not_supported,riak_kv_multi_backend}}
2011-09-23 22:28:11.207 [error] <0.766.0> CRASH REPORT Process [] with 0
neighbours crashed with reason:
{error,{indexes_not_supported,riak_kv_multi_backend}}
2011-09-23 22:28:11.394 [error] <0.306.0> Supervisor
riak_kv_index_fsm_sup had child undefined started with
{riak_core_coverage_fsm,start_link,undefined} at <0.766.0> exit with
reason {error,{indexes_not_supported,riak_kv_multi_backend}} in context
child_terminated
2011-09-23 22:28:11.395 [error] <0.539.0> webmachine error:
path="/buckets/phpSession/index/expires_int/0/1316802491"
{error,{error,{indexes_not_supported,riak_kv_multi_backend}}}
---
My configuration:
{riak_kv, [
%% Storage_backend specifies the Erlang module defining the
storage
%% mechanism that will be used on this node.
{storage_backend, riak_kv_multi_backend},
{multi_backend_default, <<"leveldb">>},
{multi_backend, [
{<<"bitcask">>, riak_kv_bitcask_backend, [
{data_root, "/var/lib/riak/bitcask"}
]},
{<<"leveldb">>, riak_kv_eleveldb_backend, [
{data_root, "/var/lib/riak/leveldb"}
]}
]},
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com