destroy-unit will not result in rs.remove or equivalent

Bug #1370542 reported by Samuele Pedroni
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mongodb (Juju Charms Collection)
High
Mario Splivalo

Bug Description

when decomissioning a unit in a replicaset, it seems the unit is left back in the rs config as unreachable instead of being removed

Related branches

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

we would hope that it could rs.remove("<HOSTNAME>:<PORT>") on relation leaving, such as when a unit is destroyed.

This has catastrophic consequences, as it means that you can havea cluster where quorum cannot be reached for leader elections because at least half of the nodes are decommissioned units.

Changed in mongodb (Juju Charms Collection):
assignee: nobody → Mario Splivalo (mariosplivalo)
status: New → In Progress
Changed in mongodb (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in mongodb (Juju Charms Collection):
importance: Undecided → High
Changed in mongodb (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers