Merge lp:~mfoord/juju-core/refresh-session into lp:~go-bot/juju-core/trunk
Proposed by
Michael Foord
Status: | Needs review |
---|---|
Proposed branch: | lp:~mfoord/juju-core/refresh-session |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
11 lines (+1/-0) 1 file modified
replicaset/replicaset.go (+1/-0) |
To merge this branch: | bzr merge lp:~mfoord/juju-core/refresh-session |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+221857@code.launchpad.net |
Commit message
replicaset/
We're seeing in very rare circumstances
fetching replica set status fail due to
a closed socket. Refreshing the session
should fix that.
Description of the change
replicaset/
We're seeing in very rare circumstances
fetching replica set status fail due to
a closed socket. Refreshing the session
should fix that.
To post a comment you must log in.
Unmerged revisions
- 2763. By Michael Foord
-
Refresh session
- 2762. By Michael Foord
-
Merge
Reviewers: mp+221857_ code.launchpad. net,
Message:
Please take a look.
Description: Initiate: refresh the session
replicaset/
We're seeing in very rare circumstances
fetching replica set status fail due to
a closed socket. Refreshing the session
should fix that.
https:/ /code.launchpad .net/~mfoord/ juju-core/ refresh- session/ +merge/ 221857
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/102980043/
Affected files (+3, -0 lines): replicaset. go
A [revision details]
M replicaset/
Index: [revision details] 20140602214617- ol3o05x718vhc0a j
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: replicaset/ replicaset. go replicaset. go' replicaset. go 2014-06-02 16:04:06 +0000 replicaset. go 2014-06-03 10:41:31 +0000
=== modified file 'replicaset/
--- replicaset/
+++ replicaset/
@@ -71,6 +71,7 @@
}
for i := 0; i < maxInitiateStat usAttempts; i++ { n.Refresh( ) s(monotonicSess ion) Warningf( "Initiate: fetching replicaset status failed: %v", err)
+ monotonicSessio
status, err := getCurrentStatu
if err != nil {
logger.