-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[Storage][DataMovement] Add source/destination checkpoint data to Job Plan file #39411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9ef22e0
Add checkpoint data to job plan file
jalauzon-msft dec12b6
Add checkpoint data to properties
jalauzon-msft 49380da
Consume checkpoint data in provider
jalauzon-msft a1be631
Add source checkpoint data for Blob
jalauzon-msft 71a8c06
Fix container sources
jalauzon-msft ee7bc13
Add back reader lock, add options e2e test
jalauzon-msft e3d78bd
Export API
jalauzon-msft 65857f9
Add stubs for Files
jalauzon-msft 3da866f
Feedback, fix tests
jalauzon-msft 07506d0
Test feedback
jalauzon-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
sdk/storage/Azure.Storage.DataMovement.Blobs/src/BlobCheckpointData.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| using System; | ||
| using System.IO; | ||
| using Azure.Storage.Blobs.Models; | ||
|
|
||
| namespace Azure.Storage.DataMovement.Blobs | ||
| { | ||
| /// <summary> | ||
| /// Base class for Blob source and destination checkpoint data | ||
| /// which contains shared fields. | ||
| /// </summary> | ||
| internal abstract class BlobCheckpointData : StorageResourceCheckpointData | ||
jalauzon-msft marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| { | ||
| /// <summary> | ||
| /// Schema version. | ||
| /// </summary> | ||
| public int Version; | ||
jalauzon-msft marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| /// <summary> | ||
| /// The type of blob. | ||
| /// </summary> | ||
| public BlobType BlobType; | ||
|
|
||
| public BlobCheckpointData(int version, BlobType blobType) | ||
| { | ||
| Version = version; | ||
| BlobType = blobType; | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.