Fwd: Actions :: UUID vs. Tag on command line

John Weldon johnweldon4 at gmail.com
Fri Oct 24 18:20:40 UTC 2014


Forgot to reply-all

---------- Forwarded message ----------
From: John Weldon <johnweldon4 at gmail.com>
Date: Fri, Oct 24, 2014 at 11:19 AM
Subject: Re: Actions :: UUID vs. Tag on command line
To: Gustavo Niemeyer <gustavo.niemeyer at canonical.com>



On Fri, Oct 24, 2014 at 11:14 AM, Gustavo Niemeyer <
gustavo.niemeyer at canonical.com> wrote:

> I doubt this would work. There's no way in the transaction package for you
> to generate an id and reference that same id in other fields in one go.
>
> In other cases that's not an issue, but having a sequence of numbered
> actions where 10 is applied before 9 would be awkward.
>


Interesting.

1. The sequence is generated in a separate transaction before being used.
(state/sequence.go)  So I don't think your concern about obtaining and
using in one transaction will be an issue.
2. We have not had much discussion around strict ordering of actions being
run in the order they were queued.  My impression is that two different
users interacting with the system at the same time is a bit of an edge case.

--
John Weldon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20141024/f9d236cc/attachment.html>


More information about the Juju-dev mailing list