API change: juju subcommands will wait for connection to Zookeeper

Juan Negron juan.negron at canonical.com
Thu Nov 17 18:45:12 UTC 2011

This would be awesome !!



On Thu, Nov 17, 2011 at 1:06 AM, William Reade
<william.reade at canonical.com>wrote:

> On Wed, 2011-11-16 at 15:35 -0700, Jim Baker wrote:
> > One alternative was to put the waiting in the bootstrap subcommand, but
> > this approach feels much cleaner. All subcommands that depend on ZK will
> > simply be gated in this fashion.
> Yep -- as I recall the motivation was that juju commands should block
> until they've read/written all the state they're responsible for. So
> bootstrap exits fast, because it does all it can quite quickly; the next
> command may block for a while because it's waiting for state to exist,
> but once it's performed its interactions it too can exit.
> +1.
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20111117/2739cda9/attachment.html>

More information about the Juju mailing list