Memory backend doesn't work (with multi backend)?
bra at fsn.hu
Fri Jun 24 04:35:47 EDT 2016
On 06/24/2016 10:23 AM, Nagy, Attila wrote:
> On 06/23/2016 08:05 PM, Luke Bakken wrote:
>> I think the documentation for multi backend could use some
>> improvement. Once you configure Riak to use the "multi" storage
>> backend, you must then *name* backends to be used by your bucket
>> Here is a configuration that you can use, that would create two
>> backends, one using the memory backend that is *named*
>> "my_memory_backend", and one using the leveldb backend that is named
>> In riak.conf:
>> storage_backend = multi
>> multi_backend.my_memory_backend.storage_backend = memory
>> multi_backend.my_leveldb_backend.storage_backend = leveldb
>> The following is an example of setting a leveldb-specific setting for
>> the "my_leveldb_backend" named backend:
>> multi_backend.my_leveldb_backend.leveldb.maximum_memory.percent = 70
> According to this, my memory_backend.max_memory_per_vnode setting
> should look like this, right?
> multi_backend.my_memory_backend.storage_backend = memory
> multi_backend.my_memory_backend.memory_backend.max_memory_per_vnode = 1G
Nevermind, a "B" is missing from the end (GB).
Thanks for the help.
More information about the riak-users