]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix dropping events in standby replay 13126/head
authorJohn Spray <john.spray@redhat.com>
Fri, 18 Nov 2016 21:11:54 +0000 (21:11 +0000)
committerNathan Cutler <ncutler@suse.com>
Thu, 26 Jan 2017 09:09:16 +0000 (10:09 +0100)
commit5eda4aac77200b858371ebab50d8779f70fe0dca
tree77ff7776b06fff163b287ac3466cffce2d2f2d73
parenta632cc41755be4393a12dd768726ade86a49bbc9
mds: fix dropping events in standby replay

Ensure that we never drop the last segment during
standby replay -- this avoids the case where we
start ignoring events because we think we're
still waiting to see a subtreemap.

Fixes: http://tracker.ceph.com/issues/17954
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit e3f2fa356f419cbac8d72bd068313f64769ef3af)
src/mds/MDLog.cc