]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/pg_backend: clear exists in remove
authorSamuel Just <sjust@redhat.com>
Thu, 30 May 2019 17:53:36 +0000 (10:53 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 31 May 2019 21:05:45 +0000 (14:05 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/pg_backend.cc

index b7a3cad862983e9b7069de6a54bed8ae9b171ded..34867be1d555e36437016ad89bdcf6a826ec583e 100644 (file)
@@ -282,6 +282,7 @@ seastar::future<> PGBackend::remove(ObjectState& os,
   txn.remove(coll->cid, ghobject_t{os.oi.soid, ghobject_t::NO_GEN, shard});
   os.oi.size = 0;
   os.oi.new_object();
+  os.exists = false;
   // todo: update watchers
   if (os.oi.is_whiteout()) {
     os.oi.clear_flag(object_info_t::FLAG_WHITEOUT);