Descriptionstate: integrate relation membership with life
Please see https://codereview.appspot.com/6678046/ for relevant discussion
that went in the wrong place dure to my forgetting this prereq.
* scope entry is now handled by running a series of transactions, each
with asserts corresponding to a valid initial state and changes transforming
that state into the desired one, until one passes
* scope exit leaves the settings untouched, but will (if necessary) delete
the scope doc and decrement the refcount; it doesn't care about life.
* a relation can become Dying regardless of its refcount.
* a relation cannot become Dead while its refount is non-zero.
* when a relation is removed, which cannot occur until it is Dead, a cleanup
document is added to facilitate subsequent removal of unused settings
documents.
https://code.launchpad.net/~fwereade/juju-core/relation-lifecycles/+merge/129540
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 1
Patch Set 2 : state: integrate relation membership with life #
Total comments: 1
MessagesTotal messages: 5
|