Comment 5 for bug 1532085

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1532085] Re: Guarantee leadership revoked from departing unit before departed hooks run

Our general guarantee is that we will never have >1 leader, not that we
will always have a leader. Our other common constraint is that when you get
a lease, we guarantee not to give the lease to someone else until your time
has expired. We *could* do revocation, but that potentially leads to >1
leader for at least some time.
I think Stub's request that we just demote the leader without necessarily
allowing another leader is fine.

On Tue, Jul 10, 2018 at 3:08 AM, Tim Penhey <email address hidden>
wrote:

> In fact, perhaps we have an explict revocation of leadership when the
> unit is being destroyed. That way another unit could claim it earlier.
> Used in addition to the is-leader returning false when the unit is being
> destroyed should reduce the leaderless window.
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1532085
>
> Title:
> Guarantee leadership revoked from departing unit before departed hooks
> run
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1532085/+subscriptions
>