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

Create config settings for storage/persistence cluster for Explorer #123

Open
dmitrizagidulin opened this issue Dec 18, 2015 · 0 comments
Open

Comments

@dmitrizagidulin
Copy link
Contributor

We're going to be using Riak to store Explorer-specific data (such as storing cached key and bucket lists or storing explorer job state), so that multiple Explorer API instances (such as in Riak Mesos, where an Explorer service runs with each Riak node) can share data centrally without duplication.

To that end, we need to create riak_explorer.conf settings to specify a cluster that Explorer will be using to store its data. This is separate from the current cluster definition lines, which denote which clusters Explorer will be managing. This new setting will just mean "this is the cluster where I'll be storing lists and other explorer-specific persistence items", and in fact, if you're managing a Staging or Production cluster with Explorer, you should use some other cluster (like a Dev or QA) for storage.

Something like:

## Node id of the cluster that Explorer will be using for persistence,
##   such as for storing cached key and bucket lists. 
## 
## Default: [email protected]
## Acceptable values:
##   - Text (Erlang node format, <node name>@<ip>)
storage.cluster.contact_node = [email protected]

## Prefix used for Explorer-specific buckets and bucket types
##
## Default: _rex_
## Acceptable values:
##   - Text
storage.bucket.prefix = _rex_
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