Forgot to reply-all

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



On Fri, Oct 24, 2014 at 11:14 AM, Gustavo Niemeyer <
gustavo.nieme...@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
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to