On Mon, Jan 25, 2016 at 12:07 PM, Nate Finch <nate.fi...@canonical.com> wrote:
> I was really trying not to give too much information about this exact > case, so we could avoid talking about a specific implementation, and focus > on the more general question of how we identify objects. Yes, we get the > bytes using an HTTP request, but that is irrelevant to my question :) > I thought I did answer the question: But whenever we do record the unit-X-uses-resource-Y info I assume we'll >>> have much the same stuff available in the apiserver, in which case I think >>> you just want to pass the *Unit back into state; without it, you just need >>> to read the doc from the DB all over again to make appropriate >>> liveness/existence checks [0], and why bother unless you've already hit an >>> assertion failure in your first txn attempt? >>> >> ...but perhaps I misunderstood what you were looking for? Cheers William
-- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev