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

Issue 7094045: uniter: react sanely to Dying required subordinate

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

Description

uniter: react sanely to Dying required subordinate see lp:1091866 https://code.launchpad.net/~fwereade/juju-core/wait-dying-subordinates/+merge/142960 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : uniter: react sanely to Dying required subordinate #

Total comments: 2

Patch Set 3 : uniter: react sanely to Dying required subordinate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -35 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/relation.go View 1 6 chunks +31 lines, -3 lines 0 comments Download
M state/relation_test.go View 2 chunks +27 lines, -1 line 0 comments Download
M worker/uniter/uniter.go View 1 2 2 chunks +25 lines, -8 lines 0 comments Download
M worker/uniter/uniter_test.go View 11 chunks +78 lines, -23 lines 0 comments Download

Messages

Total messages: 6
fwereade
Please take a look.
11 years, 3 months ago (2013-01-11 17:59:04 UTC) #1
dimitern
LGTM
11 years, 3 months ago (2013-01-11 18:07:07 UTC) #2
rog
looks good. a few remarks below. https://codereview.appspot.com/7094045/diff/1/state/relation.go File state/relation.go (right): https://codereview.appspot.com/7094045/diff/1/state/relation.go#newcode348 state/relation.go:348: if err := ...
11 years, 3 months ago (2013-01-14 17:37:40 UTC) #3
fwereade
Please take a look. https://codereview.appspot.com/7094045/diff/1/state/relation.go File state/relation.go (right): https://codereview.appspot.com/7094045/diff/1/state/relation.go#newcode348 state/relation.go:348: if err := ru.st.units.Find(selSubordinate).Select(lifeFields).One(&doc); err ...
11 years, 3 months ago (2013-01-14 22:35:59 UTC) #4
rog
LGTM with one remark below. https://codereview.appspot.com/7094045/diff/7001/worker/uniter/uniter.go File worker/uniter/uniter.go (right): https://codereview.appspot.com/7094045/diff/7001/worker/uniter/uniter.go#newcode436 worker/uniter/uniter.go:436: log.Printf("worker/uniter: cannot enter scope ...
11 years, 3 months ago (2013-01-15 09:26:22 UTC) #5
fwereade
11 years, 3 months ago (2013-01-15 11:37:55 UTC) #6
*** Submitted:

uniter: react sanely to Dying required subordinate

see lp:1091866

R=dimitern, rog
CC=
https://codereview.appspot.com/7094045

https://codereview.appspot.com/7094045/diff/7001/worker/uniter/uniter.go
File worker/uniter/uniter.go (right):

https://codereview.appspot.com/7094045/diff/7001/worker/uniter/uniter.go#newc...
worker/uniter/uniter.go:436: log.Printf("worker/uniter: cannot enter scope for
relation %q; waiting for subordinates to change", rel)
On 2013/01/15 09:26:22, rog wrote:
> "waiting for subordinate removal"?
> 
> (that's what we're actually waiting for, i think)

Done.
Sign in to reply to this message.

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