Oh, thanks, Kresten,
I'm going to try this out!
30.09.2011 2:33, Kresten Krab Thorup пишет:
Artem,
Felt enticed, and so I just posted a pull request for this
(https://github.com/basho/riak_kv/pull/227) but it looks like they're tagging
everything '1.0' as we speak. ... but there will always be another dot
release :-)
Kresten
On Sep 29, 2011, at 11:04 PM, Artem wrote:
We are pleased to announce the availability of the second release
candidate for Riak 1.0.
The RC2 doesn't seem to work with secondary indexes in the multi_backend
configuration.
Will secondary indexes be supported in 1.0 multi_backend?
--- /etc/riak/app.config -------
{storage_backend, riak_kv_multi_backend},
{multi_backend_default,<<"leveldb">>},
{multi_backend, [
{<<"leveldb">>, riak_kv_eleveldb_backend, [
{data_root, "/var/lib/riak/leveldb"}
]},
{<<"bitcask">>, riak_kv_bitcask_backend, [
{data_root, "/var/lib/riak/bitcask"}
]}
]},
--- command-line -------
curl -v -X PUT -d 'payload' -H 'X-Riak-Index-num_int: 2'
http://127.0.0.1:8098/riak/test/doc2
curl -v http://127.0.0.1:8098/buckets/test/index/num_int/1
--- /var/log/riak/console.log -------
2011-09-29 22:56:11.556 [error]<0.514.0> gen_fsm<0.514.0> in state
waiting_results terminated with reason:
{error,{indexes_not_supported,riak_kv_multi_backend}}
2011-09-29 22:56:11.843 [error]<0.514.0> CRASH REPORT Process<0.514.0>
with 0 neighbours crashed with reason:
{error,{indexes_not_supported,riak_kv_multi_backend}}
2011-09-29 22:56:12.096 [error]<0.323.0> Supervisor
riak_kv_index_fsm_sup had child undefined started with
{riak_core_coverage_fsm,start_link,undefined} at<0.514.0> exit with
reason {error,{indexes_not_supported,riak_kv_multi_backend}} in context
child_terminated
2011-09-29 22:56:12.412 [error]<0.506.0> webmachine error:
path="/buckets/test/index/num_int/1"
{error,{error,{indexes_not_supported,riak_kv_multi_backend}}}
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com