From c150ff6e2390c1f7243abf7d4eb1fb162dbae504 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Wed, 10 Jul 2024 15:53:40 -0700 Subject: [PATCH] crimson/.../alien_store: clear coll_map on stop() Signed-off-by: Samuel Just (cherry picked from commit 924384f5da84d956fefdcdf2d0b6000e48a15cf8) --- src/crimson/os/alienstore/alien_store.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crimson/os/alienstore/alien_store.cc b/src/crimson/os/alienstore/alien_store.cc index 362b3a2700e..70adef110eb 100644 --- a/src/crimson/os/alienstore/alien_store.cc +++ b/src/crimson/os/alienstore/alien_store.cc @@ -131,6 +131,7 @@ seastar::future<> AlienStore::stop() for (auto [cid, ch]: coll_map) { static_cast(ch.get())->collection.reset(); } + coll_map.clear(); store.reset(); cct.reset(); g_ceph_context = nullptr; -- 2.39.5