]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/utilities/persistent_cache/volatile_tier_impl.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / utilities / persistent_cache / volatile_tier_impl.cc
index ee63f828cb4a2cb822bea6006ce3016851ad03d9..45d2830aa808dfea1e829b47522c19f34cdb3184 100644 (file)
@@ -122,8 +122,10 @@ bool VolatileCacheTier::Evict() {
 
   // push the evicted object to the next level
   if (next_tier()) {
-    next_tier()->Insert(Slice(edata->key), edata->value.c_str(),
-                        edata->value.size());
+    // TODO: Should the insert error be ignored?
+    Status s = next_tier()->Insert(Slice(edata->key), edata->value.c_str(),
+                                   edata->value.size());
+    s.PermitUncheckedError();
   }
 
   // adjust size and destroy data