]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/.../alien_store: clear coll_map on stop()
authorSamuel Just <sjust@redhat.com>
Wed, 10 Jul 2024 22:53:40 +0000 (15:53 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 23 Jul 2024 18:01:24 +0000 (18:01 +0000)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/alienstore/alien_store.cc

index 362b3a2700e8af544f4a999f1aab1ded64af06e4..70adef110eb1ff998af172e91f71b9168c3342e6 100644 (file)
@@ -131,6 +131,7 @@ seastar::future<> AlienStore::stop()
     for (auto [cid, ch]: coll_map) {
       static_cast<AlienCollection*>(ch.get())->collection.reset();
     }
+    coll_map.clear();
     store.reset();
     cct.reset();
     g_ceph_context = nullptr;