mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
Merge pull request #59902 from trociny/wip-68169
rgw_gc: don't fail when processing entry with nonexisting pool Reviewed-by: Adam C. Emerson <aemerson@redhat.com> Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
This commit is contained in:
commit
ccd9d3e94b
@ -591,9 +591,9 @@ int RGWGC::process(int index, int max_secs, bool expired_only,
|
||||
ctx = new IoCtx;
|
||||
ret = rgw_init_ioctx(this, store->get_rados_handle(), obj.pool, *ctx);
|
||||
if (ret < 0) {
|
||||
if (transitioned_objects_cache[index]) {
|
||||
goto done;
|
||||
}
|
||||
if (ret != -ENOENT && transitioned_objects_cache[index]) {
|
||||
goto done;
|
||||
}
|
||||
last_pool = "";
|
||||
ldpp_dout(this, 0) << "ERROR: failed to create ioctx pool=" <<
|
||||
obj.pool << dendl;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user