Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into fix/storage/checkpointer-transfers-dictionary
  • Loading branch information
amnguye committed Oct 30, 2024
commit 74f12f06709b9a17304a4931506ba037a79f3f09
4 changes: 1 addition & 3 deletions sdk/storage/Azure.Storage.DataMovement/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Breaking Changes

### Bugs Fixed
- Fixed bug where adding multiple transfers in parallel could cause a collision (`InvalidOperationException`) in the data transfers stored within the `TransferManager`.

### Other Changes

Expand All @@ -19,9 +20,6 @@
- Removed the constructor for `TransferCheckpointStoreOptions` and replaced with a static builder method `Local`.
- Changed `TransferCheckpointStoreOptions.CheckpointerPath` to internal.

### Bugs Fixed
- Fixed bug where adding multiple transfers in parallel could cause a collision (`InvalidOperationException`) in the data transfers stored within the `TransferManager`.

### Other Changes
- Upgraded `System.Text.Json` package dependency to 6.0.10 for security fix.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ private async Task SetDataTransfers(CancellationToken cancellationToken = defaul
List<string> storedTransfers = await _checkpointer.GetStoredTransfersAsync(cancellationToken).ConfigureAwait(false);
foreach (string transferId in storedTransfers)
{
DataTransferStatus jobStatus = await _checkpointer.GetJobStatusAsync(transferId).ConfigureAwait(false);
DataTransferStatus jobStatus = await _checkpointer.GetJobStatusAsync(transferId, cancellationToken).ConfigureAwait(false);
// If TryAdd fails here, we need to check if in other places where we are
// adding that every transferId is unique.
if (!_dataTransfers.TryAdd(transferId, new DataTransfer(
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.