Descriptionadd presence.ChildrenWatcher
This mimics watcher.ChildrenWatcher, but expects that all children be
presence nodes; and notifies of child node Pinger life/death, rather
than mere existence of child nodes.
Note that there is still a node deletion detection race between AliveW and
the watcher.ChildrenWatcher, but it's a lot easier to deal with in this
context than it was when I was trying to solve the same issue with a
RelatedUnitsWatcher using multiple relationUnitWatcher~s.
https://code.launchpad.net/~fwereade/juju-core/watch-presence-children/+merge/112146
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : add presence.ChildrenWatcher #
Total comments: 14
Patch Set 3 : add presence.ChildrenWatcher #
MessagesTotal messages: 7
|