charms should be able to spec max unit and maybe step
Bug #897834 reported by
Kapil Thangavelu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Low
|
Unassigned |
Bug Description
Some charms only support a maximum of 1 unit, juju should support this via charm level metadata. Additionally some units have degraded performance over a certain number of units so it might have value to support max other 1.
Quorom based replication services additional benefit from having a minimum step increment to support an odd number of units (in avoidance of split brains, and additional units which offer no benefit to redundancy).
Changed in juju: | |
milestone: | none → florence |
status: | New → Confirmed |
Changed in juju: | |
milestone: | florence → honolulu |
Changed in juju: | |
milestone: | honolulu → none |
Changed in juju: | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
To post a comment you must log in.
Agreed on the first idea.
The second idea feels like adding unnecessary complexity and replacing explicitness by implicitness with little gain. There are other reasons for adding individual units than allowing more units to die while achieving a majority (e.g. performance, disk redundancy, etc).