]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: initiate monitor reconnect if beacon acks take too long
authorGreg Farnum <gregory.farnum@dreamhost.com>
Tue, 10 Jan 2012 18:41:36 +0000 (10:41 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Tue, 10 Jan 2012 18:47:22 +0000 (10:47 -0800)
commitac9b2d092f1f075621f30f77cdbb49bdf35b9ae5
treebda583dea82daf8633d8155dafa9aa12db9eb8e7
parent45897b52af6586ba213993cdc409a27b8f21a58c
mds: initiate monitor reconnect if beacon acks take too long

If it takes 2*mds_beacon_grace (default 30 seconds total) seconds
to get an ack back, maybe it's the monitor and not us. Try a reconnect,
which will just add the teensiest bit of load if we're wrong.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/mds/MDS.cc