]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kv/RocksDBStore: Fix db closing after reshard is completed
authorAdam Kupczyk <akupczyk@redhat.com>
Wed, 22 Apr 2020 12:07:14 +0000 (14:07 +0200)
committerAdam Kupczyk <akupczyk@redhat.com>
Thu, 14 May 2020 16:09:58 +0000 (18:09 +0200)
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/kv/RocksDBStore.cc

index a3cdf467306dcac9b33c776571c4955099e48fa0..1c8c4b597889cdd54d8275ff08b9aadcaefe20e3 100644 (file)
@@ -3082,5 +3082,6 @@ int RocksDBStore::reshard(const std::string& new_sharding)
     }
   }
   cf_handles.clear();
+  close();
   return r;
 }