Project

General

Profile

Fix #7394

OSD: relax monitor ping requirements while connecting

Added by Greg Farnum over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
-
Start date:
02/11/2014
Due date:
% Done:

0%

Source:
Support
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Right now, the OSD will time out a monitor after 30 seconds if it fails to ack a PGStats message. But sometimes, the monitor is responding (slowly) but the overall connection and authentication process itself takes almost 30 seconds, without the OSD actually transmitting the PGStats over the wire. This obviously hints at other problems in the cluster, but we should have a separately-tunable timeout for monitor connect and only start the PGStats timeout after the connection completes. This is probably best served by providing the MonClient a timeout for reconnects, and a callback for when the connection is complete.

History

#1 Updated by Greg Farnum over 5 years ago

  • Status changed from New to Need Review

#2 Updated by Greg Farnum over 5 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF