Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1572)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 88200043: a few small HA tweaks

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by natefinch
Modified:
11 years, 8 months ago
Reviewers:
mp+215924, rog
Visibility:
Public.
a few small HA tweaks - make sure we use localhost for stateinfo from the agent config - dial all state addresses in parallel (no max) - refesh the agentconfig after connecting to the api in case something changed https://code.launchpad.net/~natefinch/juju-core/043-localstateinfo/+merge/215924 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : a few small HA tweaks #

Total comments: 13

Patch Set 3 : a few small HA tweaks #

Created: 11 years, 8 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -41 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M agent/agent.go View 3 chunks +13 lines, -5 lines 0 comments Download
M agent/agent_test.go View 1 2 3 chunks +24 lines, -11 lines 0 comments Download
M agent/bootstrap.go View 1 chunk +4 lines, -1 line 0 comments Download
M agent/bootstrap_test.go View 3 chunks +5 lines, -3 lines 0 comments Download
M cmd/jujud/agent.go View 1 chunk +1 line, -0 lines 0 comments Download
M cmd/jujud/agent_test.go View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M cmd/jujud/bootstrap.go View 1 2 3 chunks +15 lines, -7 lines 0 comments Download
M cmd/jujud/bootstrap_test.go View 2 chunks +4 lines, -2 lines 0 comments Download
M cmd/jujud/machine.go View 1 2 3 chunks +13 lines, -2 lines 0 comments Download
M state/api/apiclient.go View 2 chunks +2 lines, -6 lines 0 comments Download
Total messages: 4
|
natefinch
Please take a look.
11 years, 8 months ago (2014年04月15日 16:46:46 UTC) #1
Please take a look.
Sign in to reply to this message.
natefinch
Please take a look.
11 years, 8 months ago (2014年04月15日 16:56:35 UTC) #2
Please take a look.
Sign in to reply to this message.
rog
LGTM with some minor suggestions below https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go File agent/agent_test.go (right): https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go#newcode437 agent/agent_test.go:437: func (*suite) TestSetPassword(c ...
11 years, 8 months ago (2014年04月15日 17:05:38 UTC) #3
LGTM with some minor suggestions below
https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go
File agent/agent_test.go (right):
https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go#newcod...
agent/agent_test.go:437: func (*suite) TestSetPassword(c *gc.C) {
Not your fault, but this test doesn't seem to be named quite right any more...
https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go#newcod...
agent/agent_test.go:438: attrparams := attributeParams
attrParams?
https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go#newcod...
agent/agent_test.go:446: conf, err :=
agent.NewStateMachineConfig(attributeParams, servingInfo)
s/attributeParams/attrParams/
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/bootstrap.go
File cmd/jujud/bootstrap.go (right):
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/bootstrap.go#new...
cmd/jujud/bootstrap.go:151: return fmt.Errorf("no stateinfo available")
"no state info available"
good to stick to english for errors, i think.
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/bootstrap.go#new...
cmd/jujud/bootstrap.go:159: return fmt.Errorf("No stateservinginfo available")
"no state serving info available"
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/machine.go
File cmd/jujud/machine.go (right):
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/machine.go#newco...
cmd/jujud/machine.go:495: return nil, nil, fmt.Errorf("no stateinfo available")
s/stateinfo/state info/
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/machine.go#newco...
cmd/jujud/machine.go:591: return fmt.Errorf("no stateinfo available")
ditto
Sign in to reply to this message.
natefinch
Please take a look. https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go File agent/agent_test.go (right): https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go#newcode438 agent/agent_test.go:438: attrparams := attributeParams On 2014年04月15日 ...
11 years, 8 months ago (2014年04月15日 17:19:54 UTC) #4
Please take a look.
https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go
File agent/agent_test.go (right):
https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go#newcod...
agent/agent_test.go:438: attrparams := attributeParams
On 2014年04月15日 17:05:38, rog wrote:
> attrParams?
Done.
https://codereview.appspot.com/88200043/diff/20001/agent/agent_test.go#newcod...
agent/agent_test.go:446: conf, err :=
agent.NewStateMachineConfig(attributeParams, servingInfo)
On 2014年04月15日 17:05:38, rog wrote:
> s/attributeParams/attrParams/
Done.
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/bootstrap.go
File cmd/jujud/bootstrap.go (right):
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/bootstrap.go#new...
cmd/jujud/bootstrap.go:151: return fmt.Errorf("no stateinfo available")
On 2014年04月15日 17:05:38, rog wrote:
> "no state info available"
> 
> good to stick to english for errors, i think.
Done.
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/bootstrap.go#new...
cmd/jujud/bootstrap.go:159: return fmt.Errorf("No stateservinginfo available")
On 2014年04月15日 17:05:38, rog wrote:
> "no state serving info available"
Done.
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/machine.go
File cmd/jujud/machine.go (right):
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/machine.go#newco...
cmd/jujud/machine.go:495: return nil, nil, fmt.Errorf("no stateinfo available")
On 2014年04月15日 17:05:38, rog wrote:
> s/stateinfo/state info/
Done.
https://codereview.appspot.com/88200043/diff/20001/cmd/jujud/machine.go#newco...
cmd/jujud/machine.go:591: return fmt.Errorf("no stateinfo available")
On 2014年04月15日 17:05:38, rog wrote:
> ditto
Done.
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /