~mariosplivalo/charm-mongodb:lp1420852

Last commit made on 2017-09-18
Get this branch:
git clone -b lp1420852 https://git.launchpad.net/~mariosplivalo/charm-mongodb
Only Mario Splivalo can upload to this branch. If you are Mario Splivalo please log in for upload directions.

Branch merges

Branch information

Name:
lp1420852
Repository:
lp:~mariosplivalo/charm-mongodb

Recent commits

410a838... by Mario Splivalo

Fix lint errors

c8adf7e... by Mario Splivalo

Added unit tests for test_replica_set_relation_broken

5a7c3d6... by Mario Splivalo

Removing obsolete variables and cleanup.

Removed INIT_LOCK_FILE - no longer used.
Lowered defaults for waiting between admin actions (replicaset setup,
configserver setup, mongod restart).
Increased number of retries.

This will speed up deployment of mongodb units.

8b089c7... by Mario Splivalo

Make replicaset-relation-broken not fail

When units are being removed they are querying replicaset status
to locate the primary unit. Then, they use primary unit to remove
themselves from replicaset.

However, when the last unit is being removed (during complete
service removal) the 'primary' key in replicaseet status is no
longer there (as the unit switched to secondary, and there is no
primary).
This code change anticipates missing 'primary' key. If so, it will
cleanly exit the hook so that juju can remove the unit cleanly.

d2fee0e... by Mario Splivalo

Merge git+ssh://git.launchpad.net/mongodb-charm

9e0b579... by Tim Kuhlman

[martin-hilton, r=timkuhlman] The stops the replica-set-relation-broken hook from erroring if the unit isn't in a replica set.

76e5cf5... by Laurent Sesquès

[mthaddon,r=sajoupa] update icon.svg lp:1686725

bd142cb... by David Ames

Add zesty to metadata

Allow zesty deploys of mongodb.

5d13a56... by Tom Haddon

Update icon per lp#1686725

2d4a011... by James Page

Resync charmhelpers

Adding support for Pike UCA source configuration.