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

Issue 6345056: mstate: subordinate units.

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

Description

mstate: subordinate units. Subordinate units are automatically assigned to machines with their principal units. A principal unit and its subordinates forms a unit set. A machine can have multiple unit sets assigned to it. https://code.launchpad.net/~aramh/juju-core/mstate-units-subordinate/+merge/113016 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : mstate: subordinate units. #

Total comments: 2

Patch Set 3 : mstate: subordinate units. #

Patch Set 4 : mstate: subordinate units. #

Total comments: 19

Patch Set 5 : mstate: subordinate units. #

Patch Set 6 : mstate: subordinate units. #

Patch Set 7 : mstate: subordinate units. #

Total comments: 1

Patch Set 8 : mstate: subordinate units. #

Patch Set 9 : mstate: subordinate units. #

Patch Set 10 : mstate: subordinate units. #

Patch Set 11 : mstate: subordinate units. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -43 lines) Patch
A [revision details] View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M mstate/machine.go View 1 2 3 4 5 6 7 8 1 chunk +22 lines, -0 lines 0 comments Download
M mstate/service.go View 1 2 3 4 5 6 7 8 5 chunks +37 lines, -18 lines 0 comments Download
M mstate/state_test.go View 4 chunks +118 lines, -2 lines 0 comments Download
M mstate/unit.go View 1 2 3 4 5 6 7 8 1 chunk +57 lines, -23 lines 0 comments Download

Messages

Total messages: 15
aram
Please take a look.
11 years, 10 months ago (2012-07-02 10:57:19 UTC) #1
niemeyer
https://codereview.appspot.com/6345056/diff/2001/mstate/unit.go File mstate/unit.go (right): https://codereview.appspot.com/6345056/diff/2001/mstate/unit.go#newcode30 mstate/unit.go:30: // its subsidiaries. We can track the machine id ...
11 years, 10 months ago (2012-07-03 04:32:14 UTC) #2
aram
https://codereview.appspot.com/6345056/diff/2001/mstate/unit.go File mstate/unit.go (right): https://codereview.appspot.com/6345056/diff/2001/mstate/unit.go#newcode30 mstate/unit.go:30: // its subsidiaries. On 2012/07/03 04:32:14, niemeyer wrote: > ...
11 years, 10 months ago (2012-07-03 20:11:51 UTC) #3
aram
Please take a look.
11 years, 10 months ago (2012-07-03 20:12:25 UTC) #4
niemeyer
Looking nice. Just a few details: https://codereview.appspot.com/6345056/diff/3008/mstate/service.go File mstate/service.go (right): https://codereview.appspot.com/6345056/diff/3008/mstate/service.go#newcode99 mstate/service.go:99: return s.addUnit(name, name) ...
11 years, 10 months ago (2012-07-03 21:11:13 UTC) #5
aram
https://codereview.appspot.com/6345056/diff/3008/mstate/service.go File mstate/service.go (right): https://codereview.appspot.com/6345056/diff/3008/mstate/service.go#newcode99 mstate/service.go:99: return s.addUnit(name, name) > That's a bit unexpected, and ...
11 years, 10 months ago (2012-07-04 21:48:40 UTC) #6
aram
Please take a look.
11 years, 10 months ago (2012-07-04 21:49:05 UTC) #7
niemeyer
https://codereview.appspot.com/6345056/diff/3008/mstate/service.go File mstate/service.go (right): https://codereview.appspot.com/6345056/diff/3008/mstate/service.go#newcode99 mstate/service.go:99: return s.addUnit(name, name) On 2012/07/04 21:48:40, aram wrote: > ...
11 years, 10 months ago (2012-07-06 11:03:43 UTC) #8
aram
https://codereview.appspot.com/6345056/diff/3008/mstate/service.go File mstate/service.go (right): https://codereview.appspot.com/6345056/diff/3008/mstate/service.go#newcode99 mstate/service.go:99: return s.addUnit(name, name) > Ok, sorry, I was the ...
11 years, 10 months ago (2012-07-08 22:26:59 UTC) #9
aram
Please take a look.
11 years, 10 months ago (2012-07-08 22:27:30 UTC) #10
niemeyer
https://codereview.appspot.com/6345056/diff/3008/mstate/service.go File mstate/service.go (right): https://codereview.appspot.com/6345056/diff/3008/mstate/service.go#newcode99 mstate/service.go:99: return s.addUnit(name, name) On 2012/07/08 22:26:59, aram wrote: > ...
11 years, 10 months ago (2012-07-09 23:22:16 UTC) #11
aram
https://codereview.appspot.com/6345056/diff/3008/mstate/service.go File mstate/service.go (right): https://codereview.appspot.com/6345056/diff/3008/mstate/service.go#newcode99 mstate/service.go:99: return s.addUnit(name, name) On 2012/07/09 23:22:17, niemeyer wrote: > ...
11 years, 10 months ago (2012-07-10 18:03:16 UTC) #12
aram
Please take a look.
11 years, 10 months ago (2012-07-10 18:03:37 UTC) #13
niemeyer
Thank you, LGTM.
11 years, 10 months ago (2012-07-10 20:28:08 UTC) #14
aram
11 years, 10 months ago (2012-07-10 23:44:34 UTC) #15
*** Submitted:

mstate: subordinate units.

Subordinate units are automatically assigned to machines with their
principal units. A principal unit and its subordinates forms a unit
set. A machine can have multiple unit sets assigned to it.

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

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