This repository was archived by the owner on Feb 8, 2024. It is now read-only.
Commit f39063a
rgw_sal_motr:[CORTX-33799] Handle progress_cb response in case of copy-object operation failure. (#386)
Problem: If copy operation failed after copying some data, then it was throwing an invalid XML error due to partial progress response. i.e rgw was not closing 'CopyObjectResult' tag in case of failure.
Solution: Remove progress_cb call from rgw_sal_motr layer, and send 'dump_continue' signal to avoid client timeout during copy operation.
Signed-off-by: Shriya Deshmukh <[email protected]>1 parent e0f7d3d commit f39063a
2 files changed
+9
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
2295 | 2296 | | |
2296 | 2297 | | |
2297 | 2298 | | |
2298 | | - | |
2299 | 2299 | | |
2300 | 2300 | | |
2301 | 2301 | | |
2302 | 2302 | | |
2303 | | - | |
2304 | 2303 | | |
2305 | 2304 | | |
2306 | 2305 | | |
| |||
2313 | 2312 | | |
2314 | 2313 | | |
2315 | 2314 | | |
2316 | | - | |
2317 | | - | |
2318 | | - | |
| 2315 | + | |
2319 | 2316 | | |
2320 | 2317 | | |
2321 | 2318 | | |
| |||
2329 | 2326 | | |
2330 | 2327 | | |
2331 | 2328 | | |
| 2329 | + | |
2332 | 2330 | | |
2333 | 2331 | | |
2334 | 2332 | | |
| |||
2411 | 2409 | | |
2412 | 2410 | | |
2413 | 2411 | | |
2414 | | - | |
| 2412 | + | |
2415 | 2413 | | |
2416 | 2414 | | |
2417 | 2415 | | |
| |||
2422 | 2420 | | |
2423 | 2421 | | |
2424 | 2422 | | |
2425 | | - | |
2426 | | - | |
2427 | | - | |
2428 | 2423 | | |
2429 | 2424 | | |
2430 | 2425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
| 537 | + | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
541 | 543 | | |
542 | 544 | | |
543 | 545 | | |
| |||
0 commit comments