Comment 26 for bug 1728111

Revision history for this message
Tim Penhey (thumper) wrote :

A key problem we have here is that Juju really can't give any guarantees. I spent some time last week talking with Ryan about what Juju can and can't say at any particular point in time.

The short answer is no, Juju cannot guarantee that a new leader won't be elected until a leader deposed hook is executed because the old leader might not be communicative. Consider the situation where there is a hardware failure, and the machine just dies. There is no way for it to run the hook, and if we are waiting, no other unit would ever be elected leader. This isn't reasonable.

Considering that we can't make this guarantee, we whouldn't rely on it.

No, AFAIK we don't have any explicit waits on other units running leader-deposed.