]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Disable compaction then no-column-b is storing allocations to bluefs... 43645/head
authorAdam Kupczyk <akupczyk@redhat.com>
Mon, 25 Oct 2021 11:30:26 +0000 (13:30 +0200)
committerAdam Kupczyk <akupczyk@redhat.com>
Mon, 25 Oct 2021 11:35:45 +0000 (13:35 +0200)
commit867f0a249e136aa7caea7c6432229fb0f27f6e2c
tree7d2dd7f8da4580070cb8e642456a40268852f1d4
parented9d0b441738e5d5fee0b1394a629b504365ab69
os/bluestore: Disable compaction then no-column-b is storing allocations to bluefs file

During BlueStore umount we store current allocation state to disk, in form of bluefs file.
If RocksDB was performing compaction during capture of allocator state, it could cause corruption.
Solution is to delete db (stop RocksDB) before state capture.

Fixes: https://tracker.ceph.com/issues/52399
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h