mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
crimson/osd/pg_backend: clear exists in remove
Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
parent
8864de8164
commit
1b22a8313a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user