Commit 2248211
committed
rgwlc: fix removal of delete markers (SAL)
S3 delete markers do not have head objects, and SAL's Object::load_obj_state()
returns -ENOENT in this case. Handle this case in LC's remove_expired_obj().
Fixes: https://tracker.ceph.com/issues/70853
Signed-off-by: Matt Benjamin <[email protected]>1 parent 5aeaa10 commit 2248211
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
630 | 635 | | |
631 | 636 | | |
632 | 637 | | |
| |||
1280 | 1285 | | |
1281 | 1286 | | |
1282 | 1287 | | |
| 1288 | + | |
| 1289 | + | |
1283 | 1290 | | |
1284 | 1291 | | |
1285 | | - | |
| 1292 | + | |
1286 | 1293 | | |
1287 | 1294 | | |
1288 | 1295 | | |
1289 | | - | |
1290 | 1296 | | |
1291 | 1297 | | |
1292 | 1298 | | |
| |||
0 commit comments