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

Issue 7528047: state: delay before redialing (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by dave
Modified:
11 years, 2 months ago
Reviewers:
dimitern, mp+153992, jameinel
Visibility:
Public.

Description

state: delay before redialing Fixes LP#1084867 This proposal works around the mgo driver's retry behavior by inserting a short (currently 2 second) delay before returning from the dial function. This reduces the amount of time mgo spends pummeling an instance while it is bootstrapping. The delay is only used on tcp level errors; if the socket connects, but fails ssl negotiation, the error is returned immediately. https://code.launchpad.net/~dave-cheney/juju-core/107-increase-timeout-delay/+merge/153992 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -10 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/export_test.go View 1 chunk +17 lines, -2 lines 0 comments Download
M state/open.go View 3 chunks +11 lines, -4 lines 3 comments Download
M state/state_test.go View 2 chunks +50 lines, -4 lines 1 comment Download

Messages

Total messages: 5
dave_cheney.net
Please take a look.
11 years, 2 months ago (2013-03-19 05:33:18 UTC) #1
jameinel
I think the change is reasonable, I worry that fallout will be hard to see ...
11 years, 2 months ago (2013-03-19 08:38:55 UTC) #2
dimitern
I like this! LGTM. John's concerns about tests should be handled as in all other ...
11 years, 2 months ago (2013-03-19 10:07:01 UTC) #3
dave_cheney.net
These are good points, let me have another go, I'd like to push dialTimeout and ...
11 years, 2 months ago (2013-03-19 10:10:54 UTC) #4
dave_cheney.net
11 years, 2 months ago (2013-03-21 05:11:15 UTC) #5
Abandoned.
Sign in to reply to this message.

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