]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: delay expiry if LogSegment is ahead of committed oft seq
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 27 Aug 2024 17:50:55 +0000 (13:50 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 25 Sep 2024 19:42:26 +0000 (15:42 -0400)
commitb2711f655a7c9e45d6cf2b31919d0c20d96d52f8
tree5a655795bf38cc1c1aac2c4b4918802ce20d664b
parent92e50c4f5334d361235ba2048bdcbfa3d6ec5d2a
mds: delay expiry if LogSegment is ahead of committed oft seq

And remove the misplaced conditional in ::trim_expiring_segments.

This is necessary as the `flush journal` command gets confused by missing a
wait_for_expiry on a LogSegment that is not actually expired.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDLog.cc
src/mds/OpenFileTable.cc
src/mds/OpenFileTable.h
src/mds/journal.cc