Descriptionstate: (demote)promote (un)available state servers
When EnsureAvailability is called, we now check the
availability of existing state servers. If a state server
is unavailable, then we either set WantsVote=false, or
remove it entirely if it doesn't want a vote.
If we need to create new state servers, we will first
promote existing, available, non-voting state servers
before creating new ones.
Availability is currently defined by the state.Machine's
agent presence. We may want to extend this later to also
consider the associated mongo's replicaset member health.
https://code.launchpad.net/~axwalk/juju-core/lp1271504-ensureavailability-agentalive/+merge/215172
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 17
Patch Set 2 : state: (demote)promote (un)available state servers #
MessagesTotal messages: 3
|