mirror of
https://github.com/ceph/ceph
synced 2024-12-19 09:57:05 +00:00
osd/Replicated: mark obc !exists on snap trim
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
48306e47d0
commit
f3ce2549c5
@ -2184,6 +2184,7 @@ ReplicatedPG::RepGather *ReplicatedPG::trim_object(const hobject_t &coid)
|
||||
delta.num_object_clones--;
|
||||
delta.num_bytes -= snapset.clone_size[last];
|
||||
info.stats.stats.add(delta, obc->obs.oi.category);
|
||||
obc->obs.exists = false;
|
||||
|
||||
snapset.clones.erase(p);
|
||||
snapset.clone_overlap.erase(last);
|
||||
|
Loading…
Reference in New Issue
Block a user