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

Issue 97520046: replicaset: retry replSetInitiate

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by axw
Modified:
9 years, 11 months ago
Reviewers:
mp+219776, wallyworld
Visibility:
Public.

Description

replicaset: retry replSetInitiate It would seem there's a race in mongo, where it may think that the one and only local replicaset member is not reachable shortly after starting up. I was able to reliably reproduce this error on the bot machine by running TestInitiateReplica in worker/peergrouper in a loop. With the retry loop, no problems. Fixes lp:1319617 https://code.launchpad.net/~axwalk/juju-core/replicaset-retry-replsetinitiate/+merge/219776 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -3 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M replicaset/replicaset.go View 2 chunks +27 lines, -3 lines 0 comments Download

Messages

Total messages: 2
axw
Please take a look.
9 years, 11 months ago (2014-05-16 04:17:26 UTC) #1
wallyworld
9 years, 11 months ago (2014-05-16 04:19:37 UTC) #2
LGTM
Sign in to reply to this message.

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