]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: shouldn't call index_op.cancel() when rados op return ETIMEDOUT 61093/head
authorlu.shasha <lu.shasha@aishu.cn>
Fri, 6 Dec 2024 04:40:27 +0000 (12:40 +0800)
committerlu.shasha <lu.shasha@aishu.cn>
Thu, 19 Dec 2024 08:06:39 +0000 (16:06 +0800)
commit221b3d125236c5092e5fe6753391d122ce52d24f
treed9e66c5b77d5fd79cf0edc0b8a9ce15a37388856
parent99ae9e1dc1a74abd176e32624a80fbee76b9a547
rgw: shouldn't call index_op.cancel() when rados op return ETIMEDOUT

when rados op return ETIMEOUT, rgw can't determine whether or not the rados op succeeded,
we shouldn't be calling index_op->cancel() in this case
Instead, we should leave that pending entry in the index so than bucket listing can recover with check_disk_state() and cls_rgw_suggest_changes()

Signed-off-by: Shasha Lu <lu.shasha@aishu.cn>
(cherry picked from commit 0c578a127e30a372da33ea52df3b1c2654178020)

Conflicts:
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_rados.cc