This repository was archived by the owner on Feb 8, 2024. It is now read-only.
Commit f8f1c23
committed
rgw_sal_motr: [CORTX-33766] Fix for CopyObject API for zero byte object.
Problem:
CopyObject operation fails for zero byte object with 'NoSuchKey' error.
Solution:
Read/write to Motr only if object size is greater than zero.
Signed-off-by: Shriya Deshmukh <[email protected]>1 parent 13b051f commit f8f1c23
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2420 | 2420 | | |
2421 | 2421 | | |
2422 | 2422 | | |
2423 | | - | |
2424 | | - | |
2425 | | - | |
2426 | | - | |
2427 | | - | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
2428 | 2431 | | |
2429 | 2432 | | |
2430 | 2433 | | |
| |||
0 commit comments