Juju Leader Election and Application-Specific Leadership
Aaron Bentley
aaron.bentley at canonical.com
Thu Apr 6 14:07:24 UTC 2017
On 2017-04-05 09:30 PM, Andrew Wilkins wrote:
> On Wed, Apr 5, 2017 at 10:26 PM Dmitrii Shcherbakov
> This doc says
> "If the election process is done internally to the service, other code
> should be used to signal the leader to Juju.".
> Longer: if your application has its own internal leadership election,
> then you may wish to present the name of the leader to the user (or
> other applications), e.g. using application status or relation data.
> That's what I take "other code" to mean.
"to Juju" makes it sound as if you're signaling Juju itself (i.e the
controllers), rather than using Juju to signal other applications or the
user.
Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20170406/2a07af95/attachment.pgp>
More information about the Juju-dev
mailing list