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

Issue 6492110: mstate: add primary watchers

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+124072, fwereade, niemeyer
Visibility:
Public.

Description

mstate: add primary watchers This change adds {Machines,Services,ServiceUnits,ServiceRelations}Watcher. Each watcher has the test ported from state, and a new, more comprehensive test. https://code.launchpad.net/~aramh/juju-core/70-mstate-watchers-nwo/+merge/124072 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : mstate: add primary watchers #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1158 lines, -6 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M mstate/export_test.go View 1 chunk +4 lines, -4 lines 0 comments Download
M mstate/service_test.go View 2 chunks +318 lines, -0 lines 1 comment Download
M mstate/state_test.go View 2 chunks +339 lines, -0 lines 0 comments Download
M mstate/watcher.go View 2 chunks +495 lines, -2 lines 0 comments Download

Messages

Total messages: 5
aram
The check for the initial event is commented out in tests because watchers don't deliver ...
11 years, 7 months ago (2012-09-12 23:00:02 UTC) #1
aram
Please take a look.
11 years, 7 months ago (2012-09-12 23:01:55 UTC) #2
fwereade
I don't see any Kill()s, and I see Addeds and Removeds everywhere. I thought all ...
11 years, 7 months ago (2012-09-13 12:17:37 UTC) #3
fwereade
On 2012/09/13 12:17:37, fwereade wrote: > I don't see any Kill()s, and I see Addeds ...
11 years, 7 months ago (2012-09-14 06:35:47 UTC) #4
niemeyer
11 years, 7 months ago (2012-09-17 09:33:35 UTC) #5
There are a few important issues in the implementation, discussed live.

As we talked, rejecting in favor of individual watches per branch.
Sign in to reply to this message.

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