]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix data corruption when rados op return ETIMEDOUT
authorlu.shasha <lu.shasha@aishu.cn>
Tue, 3 Dec 2024 07:46:35 +0000 (15:46 +0800)
committerlu.shasha <lu.shasha@aishu.cn>
Thu, 19 Dec 2024 08:05:04 +0000 (16:05 +0800)
commit99ae9e1dc1a74abd176e32624a80fbee76b9a547
treea0b5f8ea93ba5df44f5331650fcd5a9475265ce3
parent3e7be4df64cd18583299f49170d18a529540c411
rgw: fix data corruption when rados op return ETIMEDOUT

when rados op return ETIMEOUT, rgw can't determine whether or not the rados op succeeded,
To avoid data corruption, when return -ETIMEDOUT, we should clear all objects in RadosWriter

Signed-off-by: Shasha Lu <lu.shasha@aishu.cn>
(cherry picked from commit 23fcab7fc6b4b4aa3c1d06f65eb4e7ebb0e86311)
src/rgw/driver/rados/rgw_putobj_processor.cc