]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: note mds beacon times more carefully
authorSage Weil <sage@newdream.net>
Fri, 12 Feb 2010 21:35:57 +0000 (13:35 -0800)
committerSage Weil <sage@newdream.net>
Fri, 12 Feb 2010 21:35:57 +0000 (13:35 -0800)
commitf5209d750c8129c608d7c62d49fe0b1e33a59b6c
tree17014825025bbc7b7dd1c71dcfe101e846b1ba88
parent28257a0057cdf0fbf6571bbd4dffa962192e6e96
mon: note mds beacon times more carefully

We need to update the beacon timestamp even when we are updating
the mds state.  Otherwise we can get caught in a busy loop
between marking an mds laggy and !laggy because the beacon stamp
never updates.

So even if we are updating, and the reply will be slow, update
our timestamp, so we don't mark the mds laggy.
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h