From 5f6628ade64f9e4af686ccf03028f33e031e67af Mon Sep 17 00:00:00 2001 From: sageweil Date: Mon, 16 Jul 2007 23:40:09 +0000 Subject: [PATCH] reset beacon on boot git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1506 29311d96-e01e-0410-9327-a35deaab8ce9 --- branches/sage/cephmds2/mon/MDSMonitor.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/branches/sage/cephmds2/mon/MDSMonitor.cc b/branches/sage/cephmds2/mon/MDSMonitor.cc index 7578ddc99c356..7e3beae7971d1 100644 --- a/branches/sage/cephmds2/mon/MDSMonitor.cc +++ b/branches/sage/cephmds2/mon/MDSMonitor.cc @@ -305,6 +305,9 @@ bool MDSMonitor::handle_beacon(MMDSBeacon *m) // someone (new) has joined the cluster. pending_mdsmap.same_inst_since = pending_mdsmap.epoch; + + // reset the beacon timer + last_beacon[from] = g_clock.now(); } // created? -- 2.39.5