]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: add a monitor timeout via MPGStatsAck messages
authorGreg Farnum <gregory.farnum@dreamhost.com>
Sat, 24 Dec 2011 00:41:38 +0000 (16:41 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 3 Jan 2012 19:37:31 +0000 (11:37 -0800)
commita66d90e3f9b90d712ceb6c28a225b745dc5b5855
tree9372f70150b8ddbffb2c69032c0909c6285db035
parentf4b0cda17875c27d8b945be6cf5db9b356bb2dab
osd: add a monitor timeout via MPGStatsAck messages

Keep track of when we have outstanding updates, and while we do, make
sure the monitor responds within a timeout (default 30 seconds). If
it doesn't, reconnect!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h