]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: shouldn't call index_op.cancel() when rados op return ETIMEDOUT
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 07:56:43 +0000 (15:56 +0800)
commitf884b591631db9af58173ba118b35b3e0d8392f8
tree2de2d1e9fe28a5ca08477f3b74c203d25d1bae8a
parent63505589868855553843346e257b74cc7e794e89
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)
src/rgw/driver/rados/rgw_rados.cc