-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-7740. [Snapshot] Implement SnapshotDeletingService #4244
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
20 commits
Select commit
Hold shift + click to select a range
d10ba4b
HDDS-7740. [Snapshot] Implement SnapshotDeletingService
aswinshakil 81cad24
Merge master and fix findbugs.
aswinshakil bbd106b
HDDS-7740: Fix tests.
aswinshakil d2e5750
Merge remote-tracking branch 'asf/master' into HDDS-7740
smengcl fb7b7ae
HDDS-7740: Address review comments.
aswinshakil 31de5bc
Merge apache/master to HDDS-7740
aswinshakil a31bd8c
HDDS-7740. Fix Unit test.
aswinshakil 2470c11
HDDS-7740. Add Unit test.
aswinshakil a0f58d3
HDDS-7740. Add suggestion.
aswinshakil c36f0fd
HDDS-7740. Change put to putWithBatch.
aswinshakil e79b931
Trigger Build
aswinshakil e79910e
Merge branch 'master' of https://github.com/apache/ozone into HDDS-7740
aswinshakil b37e860
HDDS-7740. Fix UT.
aswinshakil 0bc1e14
HDDS-7740. Address review comments.
aswinshakil 9ab9373
HDDS-7740. Update current snapshot deletedTable.
aswinshakil ff78d47
HDDS-7740. Disable test.
aswinshakil 54c88d5
Merge branch 'master' of https://github.com/apache/ozone into HDDS-7740
aswinshakil 2144e16
HDDS-7740. Change variable name and adjust condition.
aswinshakil 0d9f773
HDDS-7740. Add comment and update variable name.
aswinshakil 97ca7e3
HDDS-7740. Update comment.
aswinshakil 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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -452,6 +452,7 @@ private enum State { | |
| // This metadata reader points to the active filesystem | ||
| private OmMetadataReader omMetadataReader; | ||
| private OmSnapshotManager omSnapshotManager; | ||
| private SnapshotChainManager snapshotChainManager; | ||
|
|
||
| /** A list of property that are reconfigurable at runtime. */ | ||
| private final SortedSet<String> reconfigurableProperties = | ||
|
|
@@ -769,6 +770,7 @@ private void instantiateServices(boolean withNewSnapshot) throws IOException { | |
| omMetadataReader = new OmMetadataReader(keyManager, prefixManager, | ||
| this, LOG, AUDIT, metrics); | ||
| omSnapshotManager = new OmSnapshotManager(this); | ||
| snapshotChainManager = new SnapshotChainManager(metadataManager); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @neils-dev mentioned this should be placed in |
||
|
|
||
| // Snapshot metrics | ||
| updateActiveSnapshotMetrics(); | ||
|
|
@@ -1508,6 +1510,15 @@ public OmSnapshotManager getOmSnapshotManager() { | |
| return omSnapshotManager; | ||
| } | ||
|
|
||
| /** | ||
| * Get Snapshot Chain Manager. | ||
| * | ||
| * @return SnapshotChainManager. | ||
| */ | ||
| public SnapshotChainManager getSnapshotChainManager() { | ||
| return snapshotChainManager; | ||
| } | ||
|
|
||
| /** | ||
| * Get metadata manager. | ||
| * | ||
|
|
||
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.