]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: ensure snapclient is synced before corruption check 55412/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 1 Feb 2024 14:15:37 +0000 (09:15 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 28 Feb 2024 02:29:21 +0000 (21:29 -0500)
commitcaa34c1f6102f88e2c07f58af72bd886cbcc33b3
treed10d2b46c870c64c0510a9944f120a45c3a97cd0
parent4a1c26b52121803d1bd0f8c1c06eb856f2add307
mds: ensure snapclient is synced before corruption check

During resolve, orphan dirfrags are purged which may result in dentry commits.
If the snapclient is not sync'd (which normally happens as the last step of
up:resolve), then the snapclient indicates the last sequence is 1 which is
always less than a dentry's legitimate "first" value.

Fixes: https://tracker.ceph.com/issues/64058
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/CDentry.cc