Descriptionworker/peergrouper: new package
This will be a worker that maintains the replica set
with respect to the state.
The function in this CL implements the core functionality - it's
a stateless function that looks at a representation of the
current state of affairs and decides what the replicaset
member list should look like.
It may well change when faced with reality (although I've been
trying to sanity check with experimental code),
but I think it should be reasonable to check in now
as a staging post.
There are current some extraneous changes in this
branch (everything outside worker/peergrouper)
which are made redundant by other MPs. Please
ignore for the purposes of this review; I'll remove
before submitting.
https://code.launchpad.net/~rogpeppe/juju-core/479-desired-peer-group/+merge/201245
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : worker/peergrouper: new package #
Total comments: 6
Patch Set 3 : worker/peergrouper: new package #Patch Set 4 : worker/peergrouper: new package #Patch Set 5 : worker/peergrouper: new package #
Total comments: 4
Patch Set 6 : worker/peergrouper: new package #Patch Set 7 : worker/peergrouper: new package #
MessagesTotal messages: 8
|