]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/test_bluefs: reproduce volume selector inconsistency after
authorIgor Fedotov <igor.fedotov@croit.io>
Wed, 11 Feb 2026 16:36:20 +0000 (19:36 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Thu, 19 Feb 2026 15:37:26 +0000 (18:37 +0300)
commitb74575dfed4a8835bde3f777a2f5a3a96b9bb539
tree0f1d75c282e5bc4d46a3b1b389bd7c2de58adc4c
parent53cd5257aaca37a1cd888d7098dde19c9d6bf049
test/test_bluefs: reproduce volume selector inconsistency after
recovering WAL in envelope mode.

Reproduces: https://tracker.ceph.com/issues/74765

Exact bug reproduction (which occurs on file removal) requires
'bluefs_check_volume_selector_on_mount' to be set manually to false
in 'wal_v2_simulate_crash' test case.
That's not the case for the default implementation which fails volume selector
validation at earlier stage during BlueFS mount.
This seems a general approach which provides better test coverage.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit e65564e9d1d7f97731f5f9d1d0072192ffb66183)
src/test/objectstore/test_bluefs.cc