Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(857)

Issue 88000050: worker/peergrouper: maintain HasVote better

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by rog
Modified:
10 years ago
Reviewers:
dimitern, mp+216359, gz
Visibility:
Public.

Description

worker/peergrouper: maintain HasVote better We observed that HasVote was not being properly maintained when SetHasVote failed on a previous iteration. https://code.launchpad.net/~rogpeppe/juju-core/557-peergrouper-maintain-hasvote/+merge/216359 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : worker/peergrouper: maintain HasVote better #

Total comments: 8

Patch Set 3 : worker/peergrouper: maintain HasVote better #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -21 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M worker/peergrouper/desired.go View 3 chunks +6 lines, -6 lines 0 comments Download
M worker/peergrouper/desired_test.go View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M worker/peergrouper/mock_test.go View 1 chunk +1 line, -1 line 0 comments Download
M worker/peergrouper/worker.go View 1 2 4 chunks +21 lines, -12 lines 0 comments Download
M worker/peergrouper/worker_test.go View 1 2 1 chunk +97 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
10 years ago (2014-04-17 16:09:46 UTC) #1
dimitern
LGTM with a few suggestions. https://codereview.appspot.com/88000050/diff/20001/worker/peergrouper/desired_test.go File worker/peergrouper/desired_test.go (right): https://codereview.appspot.com/88000050/diff/20001/worker/peergrouper/desired_test.go#newcode216 worker/peergrouper/desired_test.go:216: c.Assert(votePresent, jc.IsTrue) Why not ...
10 years ago (2014-04-17 16:17:34 UTC) #2
rog
Please take a look. https://codereview.appspot.com/88000050/diff/20001/worker/peergrouper/desired_test.go File worker/peergrouper/desired_test.go (right): https://codereview.appspot.com/88000050/diff/20001/worker/peergrouper/desired_test.go#newcode216 worker/peergrouper/desired_test.go:216: c.Assert(votePresent, jc.IsTrue) On 2014/04/17 16:17:35, ...
10 years ago (2014-04-17 16:23:39 UTC) #3
gz
10 years ago (2014-04-17 16:23:48 UTC) #4
LGTM.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b