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

Issue 6713045: state: fix AddUnit when called concurrently

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by rog
Modified:
11 years, 6 months ago
Reviewers:
mp+129941
Visibility:
Public.

Description

state: fix AddUnit when called concurrently The right fix is more involved, but this should do the trick in the meantime. https://code.launchpad.net/~rogpeppe/juju-core/133-fix-assign-to-unused-machine/+merge/129941 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: fix AddUnit when called concurrently #

Patch Set 3 : state: fix AddUnit when called concurrently #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -11 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/assign_test.go View 1 2 2 chunks +46 lines, -0 lines 0 comments Download
M state/state.go View 1 2 1 chunk +13 lines, -11 lines 0 comments Download
M state/unit.go View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7
rog
Please take a look.
11 years, 6 months ago (2012-10-16 16:37:42 UTC) #1
niemeyer
LGTM
11 years, 6 months ago (2012-10-16 16:51:08 UTC) #2
dave_cheney.net
On 2012/10/16 16:51:08, niemeyer wrote: > LGTM Thanks rog. This will probably work, but the ...
11 years, 6 months ago (2012-10-17 01:32:04 UTC) #3
rog
On 17 October 2012 02:32, <dave@cheney.net> wrote: > On 2012/10/16 16:51:08, niemeyer wrote: >> >> ...
11 years, 6 months ago (2012-10-17 09:04:50 UTC) #4
dave_cheney.net
The test failed to fail when I ran it against the unmodified state.go. On 17/10/2012, ...
11 years, 6 months ago (2012-10-17 12:35:27 UTC) #5
rog
On 17 October 2012 13:35, Dave Cheney <dave@cheney.net> wrote: > The test failed to fail ...
11 years, 6 months ago (2012-10-17 14:20:23 UTC) #6
rog
11 years, 6 months ago (2012-10-19 12:25:13 UTC) #7
*** Submitted:

state: fix AddUnit when called concurrently

The right fix is more involved, but this should
do the trick in the meantime.

R=niemeyer, dfc
CC=
https://codereview.appspot.com/6713045
Sign in to reply to this message.

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