mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
rgw_gc: don't fail when processing entry with nonexisting pool
Fixes: https://tracker.ceph.com/issues/68169 Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
This commit is contained in:
parent
c77c5eb8db
commit
73535b105d
@ -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