]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: add data scan tests for ancestry rebuild
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 28 Jan 2025 18:40:39 +0000 (13:40 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Thu, 30 Jan 2025 04:19:52 +0000 (23:19 -0500)
commit4feb30b2ee286487816fa683d80f3e4271c92122
treea9fae1e0d6f8fa49bd5e067dd7ee99db0925ce98
parentbc196b7e63ac2f06b6b6d89981ff156c8f3900f0
qa: add data scan tests for ancestry rebuild

When one PG is lost in the metadata pool, it will seem as if arbitrary dirfrags
have been lost (and possibly other things, ignored for now). The
cephfs-data-scan tool does not presently try to reconstruct those missing
parents so these tests will fail.

Importantly, also test the case where multiple ancestry paths may exist due to
out-of-date backtraces on regular files.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
qa/tasks/cephfs/filesystem.py
qa/tasks/cephfs/test_data_scan.py