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

Issue 6356060: mstate: removing a node removes associated nodes.

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by aram
Modified:
13 years, 7 months ago
Reviewers:
mp+113292, niemeyer
Visibility:
Public.

Description

mstate: removing a node removes associated nodes. https://code.launchpad.net/~aramh/juju-core/mstate-lifecycle-relations/+merge/113292 Requires: https://code.launchpad.net/~aramh/juju-core/mstate-lifecycle/+merge/113276 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : mstate: removing a node removes associated nodes. #

Total comments: 2

Patch Set 3 : mstate: removing a node removes associated nodes. #

Patch Set 4 : mstate: removing a node removes associated nodes. #

Patch Set 5 : mstate: removing a node removes associated nodes. #

Patch Set 6 : mstate: removing a node removes associated nodes. #

Patch Set 7 : mstate: removing a node removes associated nodes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -6 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M mstate/service.go View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M mstate/state.go View 1 2 3 4 1 chunk +8 lines, -3 lines 0 comments Download
M mstate/state_test.go View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M mstate/unit.go View 1 2 3 4 5 2 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 8
aram
Please take a look.
13 years, 7 months ago (2012-07-03 20:13:57 UTC) #1
niemeyer
https://codereview.appspot.com/6356060/diff/2001/mstate/service.go File mstate/service.go (right): https://codereview.appspot.com/6356060/diff/2001/mstate/service.go#newcode133 mstate/service.go:133: change := bson.D{{"$set", bson.D{{"lifecycle", life.Dying}, {"machineid", nil}}}} This change ...
13 years, 7 months ago (2012-07-03 21:16:16 UTC) #2
aram
Please take a look.
13 years, 7 months ago (2012-07-04 21:50:57 UTC) #3
niemeyer
As we agreed over G+, let's please drop the machineid = nil part.
13 years, 7 months ago (2012-07-06 18:55:20 UTC) #4
aram
On 2012/07/06 18:55:20, niemeyer wrote: > As we agreed over G+, let's please drop the ...
13 years, 7 months ago (2012-07-08 22:34:29 UTC) #5
aram
Please take a look.
13 years, 7 months ago (2012-07-08 22:34:49 UTC) #6
niemeyer
LGTM
13 years, 7 months ago (2012-07-09 23:25:22 UTC) #7
aram
13 years, 7 months ago (2012-07-10 23:58:33 UTC) #8
*** Submitted:

mstate: removing a node removes associated nodes.

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

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