-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-11244. Draft PR to address multiple issues in garbage collection. Will split it into multiple PRs #7097
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
Closed
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
a023c28
HDDS-11244. Draft PR to address multiple issues in garbage collection…
swamirishi c4e78d9
Safety commit
swamirishi 851153e
Merge remote-tracking branch 'apache/master' into HEAD
swamirishi 536b63a
Push interim merge in progress
swamirishi e030d90
Push interim merge in progress
swamirishi 2640d27
Push interim merge in progress
swamirishi d44686a
Push interim merge in progress
swamirishi 74d1ebc
Test fixes
swamirishi da5ff0a
Flush snapshot info
swamirishi 831cd46
HDDS-11440. Add a lastTransactionInfo field in SnapshotInfo to check …
swamirishi eebd1ce
Fix OmSnapshotMoveTableKeys request
swamirishi 4ff6a6e
HDDS-11440. Address review comments
swamirishi dc55f37
HDDS-11440. Address review comments
swamirishi e556129
HDDS-11440. Address review comments
swamirishi b32d074
HDDS-11440. Address review comments
swamirishi 2d4b18a
Merge remote-tracking branch 'origin/HDDS-11440' into HEAD
swamirishi dc83f85
Merge with HDDS-11440
swamirishi b5f21a0
HDDS-11411. Snapshot garbage collection should not run when the keys …
swamirishi 177386a
Merge remote-tracking branch 'apache/master' into HDDS-11244
swamirishi 4d22b05
Merge remote-tracking branch 'origin/HDDS-11411' into HDDS-11244
swamirishi 29ab212
Merge
swamirishi d06414e
Merge
swamirishi c1eb878
Merge remote-tracking branch 'apache/master' into HEAD
swamirishi 4520004
Fix checkstyle
swamirishi ac74e51
HDDS-11244. Fix race condition b/w create snapshot & AOS key deleting…
swamirishi 51c6a5c
Merge remote-tracking branch 'apache/master' into HDDS-11244
swamirishi 200c9a7
HDDS-11244. Merge
swamirishi 91a4c42
HDDS-11244. Fix Checkstyle
swamirishi c509cc3
Merge remote-tracking branch 'apache/master' into HDDS-11244
swamirishi 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
17 changes: 17 additions & 0 deletions
17
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/util/CheckedExceptionOperation.java
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,17 @@ | ||
| package org.apache.hadoop.ozone.util; | ||
|
|
||
| /** | ||
| * | ||
| * Represents a function that accepts one argument and produces a result. | ||
| * This is a functional interface whose functional method is apply(Object). | ||
| * Type parameters: | ||
| * <T> – the type of the input to the function <R> – the type of the result of the function | ||
| * <E> - the type of exception thrown. | ||
| */ | ||
| public interface CheckedExceptionOperation<T, R, E extends Exception> { | ||
| R apply(T t) throws E; | ||
|
|
||
| default <V> CheckedExceptionOperation<T, V, E> andThen(CheckedExceptionOperation<R, V, E> operation) throws E { | ||
| return (T t) -> operation.apply(this.apply(t)); | ||
| } | ||
| } |
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
272 changes: 0 additions & 272 deletions
272
...c/test/java/org/apache/hadoop/ozone/om/snapshot/TestSnapshotDirectoryCleaningService.java
This file was deleted.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this from the change as well.