Tags and object IDs
William Reade
william.reade at canonical.com
Mon Jan 25 11:31:17 UTC 2016
On Mon, Jan 25, 2016 at 12:07 PM, Nate Finch <nate.finch at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160125/f88f607b/attachment.html>
More information about the Juju-dev
mailing list