|
state: implement EnsureAvailability
This also changes the semantics of AddMachine
so that it can only be used to add a state server
machine if it's adding the bootstrap machine.
After than, only EnsureAvailability can be used
to add state servers.
https://code.launchpad.net/~rogpeppe/juju-core/475-ensure-availability-2/+merge/202518
(do not edit description out of merge proposal)
Total comments: 31
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+583 lines, -248 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/destroymachine_test.go
|
View
|
1
2
|
1 chunk |
+30 lines, -30 lines |
0 comments
|
Download
|
 |
M |
juju/conn_test.go
|
View
|
1
2
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
juju/testing/conn.go
|
View
|
1
2
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
replicaset/replicaset.go
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/addmachine.go
|
View
|
1
2
|
11 chunks |
+149 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/api/deployer/deployer_test.go
|
View
|
|
4 chunks |
+16 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/api/keyupdater/authorisedkeys_test.go
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/state_test.go
|
View
|
1
2
|
4 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
 |
M |
state/api/uniter/uniter_test.go
|
View
|
1
2
|
2 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/client/client_test.go
|
View
|
1
2
|
6 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/client/destroy.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/apiserver/client/destroy_test.go
|
View
|
1
2
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/provisioner/provisioner_test.go
|
View
|
1
2
|
25 chunks |
+42 lines, -30 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/uniter/uniter_test.go
|
View
|
1
2
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/assign_test.go
|
View
|
1
2
|
2 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
state/export_test.go
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
state/machine.go
|
View
|
1
2
|
3 chunks |
+14 lines, -15 lines |
0 comments
|
Download
|
 |
M |
state/machine_test.go
|
View
|
1
2
|
13 chunks |
+25 lines, -35 lines |
0 comments
|
Download
|
 |
M |
state/megawatcher_internal_test.go
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/open.go
|
View
|
1
2
3
|
2 chunks |
+25 lines, -21 lines |
0 comments
|
Download
|
 |
M |
state/state.go
|
View
|
1
2
|
1 chunk |
+23 lines, -7 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
1
2
|
8 chunks |
+186 lines, -46 lines |
0 comments
|
Download
|
Total messages: 7
|