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

Issue 6573064: state: add machine units watcher

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

Description

state: add machine units watcher https://code.launchpad.net/~aramh/juju-core/100-state-watchers-machine-units5/+merge/126790 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: add machine units watcher #

Total comments: 18

Patch Set 3 : state: add machine units watcher #

Total comments: 16

Patch Set 4 : state: add machine units watcher #

Patch Set 5 : state: add machine units watcher #

Unified diffs Side-by-side diffs Delta from patch set Stats (+550 lines, -31 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M state/machine_test.go View 1 2 3 7 chunks +377 lines, -11 lines 0 comments Download
M state/watcher.go View 1 2 3 7 chunks +170 lines, -19 lines 0 comments Download
M worker/firewaller/firewaller.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13
aram
Please take a look.
11 years, 7 months ago (2012-09-27 20:14:20 UTC) #1
aram
WIP, for now. There are some obvious deficiencies which I am correcting.
11 years, 7 months ago (2012-09-28 14:02:33 UTC) #2
aram
Please take a look.
11 years, 7 months ago (2012-10-01 16:54:46 UTC) #3
aram
Rearchitectured to use a single goroutine per watch.
11 years, 7 months ago (2012-10-01 16:55:19 UTC) #4
niemeyer
This is a good code spike to get a feeling for the problem, but really ...
11 years, 7 months ago (2012-10-02 00:08:44 UTC) #5
aram
> The implementation only needs to watch: > 1) the machine > 2) the specific ...
11 years, 7 months ago (2012-10-02 19:28:35 UTC) #6
aram
Please take a look.
11 years, 7 months ago (2012-10-02 19:28:57 UTC) #7
niemeyer
So much better. Thank you! Just a few details left: https://codereview.appspot.com/6573064/diff/10002/state/watcher.go File state/watcher.go (right): https://codereview.appspot.com/6573064/diff/10002/state/watcher.go#newcode1318 ...
11 years, 7 months ago (2012-10-03 17:48:34 UTC) #8
niemeyer
https://codereview.appspot.com/6573064/diff/10002/state/watcher.go File state/watcher.go (right): https://codereview.appspot.com/6573064/diff/10002/state/watcher.go#newcode1318 state/watcher.go:1318: machine: m, On 2012/10/03 17:48:34, niemeyer wrote: > machine: ...
11 years, 7 months ago (2012-10-03 17:51:08 UTC) #9
aram
https://codereview.appspot.com/6573064/diff/10002/state/watcher.go File state/watcher.go (right): https://codereview.appspot.com/6573064/diff/10002/state/watcher.go#newcode1318 state/watcher.go:1318: machine: m, On 2012/10/03 17:51:08, niemeyer wrote: > On ...
11 years, 7 months ago (2012-10-03 18:37:26 UTC) #10
aram
Please take a look.
11 years, 7 months ago (2012-10-03 18:37:47 UTC) #11
niemeyer
LGTM with the revert of the Alive change, assuming all tests pass. Thank you!
11 years, 7 months ago (2012-10-03 18:44:11 UTC) #12
aram
11 years, 7 months ago (2012-10-03 18:44:29 UTC) #13
*** Submitted:

state: add machine units watcher

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

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