Bug #75232
closedtools/cephfs: cephfs-data-scan tools can miss recovery
0%
Description
This bug got introduced with https://github.com/ceph/ceph/pull/65495
Progress tracking requires knowing the object count in data or the metadata pool. librados's get_pool_stats() API isn't designed to be accurate and therefore could return zero (0) when an object is just created in a pool. This is precisely what the test case does -- adds an extra data pool and set layout, wipe the metadata pool and try to rebuild the metadata pool from the data pool. scan_extents will create 0th object in the first data pool. scan_inodes step fetches the object count from the first data pool and that turns out to be zero (as get_pool_stats() isn't accurate) and thereby the entire scan_inodes step is skipped.
VS Updated by Venky Shankar 9 months ago
- Subject changed from Test failure: test_extra_data_pool_rebuild_few_files (tasks.cephfs.test_data_scan.TestDataScan.test_extra_data_pool_rebuild_few_files) to tools/cephfs: cephfs-data-scan tools can miss recovery
Generalizing this tracker as cephfs-data-scan hit a regression in https://github.com/ceph/ceph/pull/65495
/a/vshankar-2026-02-25_09:28:04-fs-wip-vshankar-testing-20260224.100235-testing-default-trial/69471
VS Updated by Venky Shankar 9 months ago
- Status changed from New to Triaged
- Assignee set to Venky Shankar
I have a wip fix for this.
VS Updated by Venky Shankar 9 months ago
- Status changed from Triaged to Fix Under Review
- Pull request ID set to 67709
UB Updated by Upkeep Bot 6 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to 68e07e9f46db8f45e490c7210cccd1ce4b845251
- Fixed In set to v21.0.0-1918-g68e07e9f46
- Upkeep Timestamp set to 2026-06-02T10:14:10+00:00
VS Updated by Venky Shankar 5 months ago
- Related to Bug #75084: Test failure: test_progress_event_unique_per_process (tasks.cephfs.test_data_scan.TestDataScan.test_progress_event_unique_per_process) added
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~311
- Upkeep Timestamp changed from 2026-06-02T10:14:10+00:00 to 2026-10-24T01:45:24+00:00