]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: flush monc log before abort
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 25 Jul 2023 19:07:21 +0000 (15:07 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 15 Sep 2023 19:49:48 +0000 (15:49 -0400)
commitd8db3fc5e818046fea864bcb598890c8b9d2c660
treea9ac17744a56e162849bc65d7fccdc9081f91822
parentc8f8324ee2fae48e8d3c2bbdbf45cc9ffe46fd4c
mds: flush monc log before abort

These are asynchronously flushed periodically. If the MDS plans to abort (and
we know messages are pending), it needs to manually trigger a flush.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 59c5a50bd9e69d58b4cdb9eff68b55fb2ccb4f29)
src/mds/CDentry.cc
src/mds/MDSRank.cc
src/mds/MDSRank.h