]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/kv/RocksDBStore.h
update sources to v12.1.1
[ceph.git] / ceph / src / kv / RocksDBStore.h
index c437badebabbbf76887094ec2c53fe0aae00a3ef..321653448973f5327aa3459e8c55d9fa94e5e242 100644 (file)
@@ -76,6 +76,7 @@ class RocksDBStore : public KeyValueDB {
   string options_str;
 
   uint64_t cache_size = 0;
+  bool set_cache_flag = false;
 
   int do_open(ostream &out, bool create_if_missing);
 
@@ -439,6 +440,7 @@ err:
 
   int set_cache_size(uint64_t s) override {
     cache_size = s;
+    set_cache_flag = true;
     return 0;
   }