Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Cleanup reactive states handling and expose replset relation parameter #6
Conversation
dshcherb
added some commits
Feb 13, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dshcherb commentedFeb 13, 2017
This PR is attempts to make state handling better by deleting set_state("*.removed") calls and adding calls to actually remove .available states.
The second patch exposes the replset parameter of a relation which is already present in the mongodb charm code:
https://bazaar.launchpad.net/~charmers/charms/trusty/mongodb/trunk/view/head:/hooks/hooks.py#L1141
Some applications (like zaqar) require replicated or sharded configurations only and do not work with standalone instances which is why the change is needed.