-
Notifications
You must be signed in to change notification settings - Fork 15.4k
KAFKA-14888: Added remote log segments retention functionality based on time and size. #13561
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
29 commits
Select commit
Hold shift + click to select a range
8d36431
Added remote log segments retention functionality based on time and size
satishd ce82067
Fixed a few log message typos.
satishd d12b8b6
Addressed minor reveiw comments
satishd e03f3e6
Delete only when the segment is copied to tiered storage
satishd 05d9945
Addressed review comments
satishd 4c7cc13
Addressed review comments
satishd aa81e14
Addressed review comments
satishd c360a5a
Addressed a minor review comments
satishd e3de851
Addressed reveiw comments
satishd cc78b46
Addressed review comments
satishd db51cc1
Addressed review comments
satishd 746f745
Added more checks and respective tests.
satishd 7a0ae8f
A few more cases added to the test
satishd e659a41
Addressed reveiw comments.
satishd 9f53ed4
Addressed review comments
satishd c8e5059
Pulled the trunk changes and fixed the conflicts.
satishd b4749e9
Addressed review comments
satishd ce97bf8
Addressed reveiw comments
satishd 6917b72
Addressed review comments
satishd 8fbc973
Addressed review comments
satishd d997a60
Addressed review comments
satishd be14a6d
Minor cleanup in the test to cover more scenarios.
satishd 7dc99ed
Added a UT for incrementing log-start-offset with remote storage enabled
satishd 3dd0d18
Addressed review comments
satishd 0d57dcf
Addressed review comments
satishd de5ac76
Addressed review comments
satishd e2cb247
Addressed review comments
satishd 46c96f4
Fixed setting right start offset while searching for offsets based on…
satishd 3eaf741
Addressed review comments
satishd 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
455 changes: 444 additions & 11 deletions
455
core/src/main/java/kafka/log/remote/RemoteLogManager.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.