RFC: state entities, replace globalKey() with .Tag().String()
Tim Penhey
tim.penhey at canonical.com
Wed Sep 24 07:46:41 UTC 2014
On 24/09/14 19:39, Dimiter Naydenov wrote:
> I'm not opposed to replacing global keys with tags in state, but using
> only simple _id fields in all collections is impractical in certain cases.
Don't get me wrong, I'm not suggesting changing the _id fields to be
more simple. I understand that they are needed for the watchers (at the
moment).
I fact, the _id fields are getting more complex as we prepend the
environment uuid to it. However we are also adding a normal field for
the EnvUUID so it can be easily queried against.
Tim
More information about the Juju-dev
mailing list