Where to place merge_window using multi-backend in app.config?

Ricardo Mayerhofer ricardo.ekm at gmail.com
Mon Nov 9 09:31:17 EST 2015


Hi,
Riak 1.4 documentation states:
"Certain settings, such as Bitcask's merge_window, are set per-node, rather
than per-backend, and as such must be set in the top level backend sections
of your app.config."

However I'm unsure where to put it in app.config file when using
multi-backend, given there is no example. Should it be inside riak_kv
section? Any help is appreciated. Thanks.

 {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, <<"be_default">>},

            {multi_backend, [

              {<<"be_leveldb">>, riak_kv_eleveldb_backend, [

                  {data_root, "/mnt/riak-data/leveldb"}

              ]},

                {<<"be_default">>, riak_kv_bitcask_backend, [

                  {data_root, "/mnt/riak-data/bitcask"}

              ]}

            ]},

*           %% Here?*

*            {merge_window, {1,3}},*

-- 
Ricardo Mayerhofer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20151109/fcbb6ea0/attachment-0002.html>


More information about the riak-users mailing list