Descriptionstate: integrate service relations with life
* setting a service to dying also sets all its relations to dying (units are
not set to dying; we don't want any 100000-op transactions).
* relations can no longer be added when involved services are not alive.
* adding a relation adds to the relations refcount of each involved service.
* removing a relation decrefs its services.
* a service cannot be set to dead while it still has unremoved relations.
* units cannot be added to a dying relation
* the last unit to leave a dying relation removes it directly
https://code.launchpad.net/~fwereade/juju-core/service-lifecycles/+merge/129570
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 27
Patch Set 2 : state: integrate service relations with life #Patch Set 3 : state: integrate service relations with life #
Total comments: 26
Patch Set 4 : state: integrate service relations with life #Patch Set 5 : state: integrate service relations with life #
MessagesTotal messages: 9
|