Commit 0c578a1
committed
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 <[email protected]>1 parent 23fcab7 commit 0c578a1
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3343 | 3343 | | |
3344 | 3344 | | |
3345 | 3345 | | |
3346 | | - | |
3347 | | - | |
3348 | | - | |
3349 | | - | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
3350 | 3354 | | |
3351 | | - | |
| 3355 | + | |
| 3356 | + | |
3352 | 3357 | | |
3353 | 3358 | | |
3354 | 3359 | | |
| |||
0 commit comments