Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuring multiple backend #188

Open
alirizakeles opened this issue May 11, 2016 · 0 comments
Open

configuring multiple backend #188

alirizakeles opened this issue May 11, 2016 · 0 comments

Comments

@alirizakeles
Copy link

Hi,

I need to configure multiple backends as quoted below, but i haven't seen them in attributes section.

What should I do to have a result like this:

storage_backend = multi

multi_backend.bitcask_mult.storage_backend = bitcask
multi_backend.leveldb_mult.storage_backend = leveldb

multi_backend.bitcask_mult.bitcask.open_timeout = 10s
multi_backend.bitcask_mult.bitcask.sync.strategy = interval
multi_backend.bitcask_mult.bitcask.sync.interval = 30s

multi_backend.default = bitcask_mult

I saw examples for search options, but i am not sure if is it the proper way to configure multiple backend.

Does something like that works?

default['riak']['config']['multi_backend']['bitcask_mult']['storage_backend'] = 'bitcask'
default['riak']['config']['multi_backend']['leveldb_mult']['storage_backend'] = 'leveldb'

default['riak']['config']['multi_backend']['bitcask_mult']['bitcask']['open_timeout'] = '10s'
default['riak']['config']['multi_backend']['bitcask_mult']['bitcask']['sync']['strategy'] = 'interval'
default['riak']['config']['multi_backend']['bitcask_mult']['bitcask']['sync']['interval'] = '30s'

default['riak']['config']['multi_backend']['default'] = 'bitcask_mult'

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant