As of
a926a4a54ced, BlueStore::umount expects outstanding CollectionRef's
to already have been released.
Previously,
8389471b3 updated alien_store.cc to release coll_map in
stop() in in the alien tp.
Fixes: https://tracker.ceph.com/issues/67415
Signed-off-by: Samuel Just <sjust@redhat.com>
return seastar::now();
}
return tp->submit([this] {
- {
- std::lock_guard l(coll_map_lock);
- for (auto [cid, ch]: coll_map) {
- static_cast<AlienCollection*>(ch.get())->collection.reset();
- }
- coll_map.clear();
- }
store.reset();
cct.reset();
g_ceph_context = nullptr;
}
return op_gate.close().then([this] {
return tp->submit([this] {
+ {
+ std::lock_guard l(coll_map_lock);
+ for (auto [cid, ch]: coll_map) {
+ static_cast<AlienCollection*>(ch.get())->collection.reset();
+ }
+ coll_map.clear();
+ }
return store->umount();
});
}).then([] (int r) {