the unconditional 'return true' for delete markers was causing check()
to ignore the lifecycle policy's "Days" field, causing delete markers to
be expired and removed prematurely
instead of the early return, fall through to the mtime/size comparisons
used for normal objects
Fixes: https://tracker.ceph.com/issues/73240
Signed-off-by: Casey Bodley <cbodley@redhat.com>
ldpp_dout(dpp, 7) << __func__ << "(): dm-check DELE: key=" << o.key
<< " " << oc.wq->thr_name() << dendl;
- *exp_time = real_clock::now();
- return true;
+
+ // go on to compare mtime, size, etc
}
auto& mtime = o.meta.mtime;