Commit 3af7a7b
Fix retry offset calculation to use getRetryOffset() method
The critical bug was using getTotalEncodedBytesProcessed() for retry offset,
which includes pending bytes. This caused gaps in the byte stream when
combining pending + new data. The existing getRetryOffset() method correctly
subtracts pending bytes to get the actual file position where new data
should start, ensuring continuous byte streams across retries.
Co-authored-by: gunjansingh-msft <[email protected]>1 parent 12fe68d commit 3af7a7b
File tree
1 file changed
+3
-4
lines changed- sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1407 | 1407 | | |
1408 | 1408 | | |
1409 | 1409 | | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
1414 | 1413 | | |
1415 | 1414 | | |
1416 | 1415 | | |
| |||
0 commit comments