Added checkpoint truncation utility with inmemory writers instead of temporary files in RemoteLogManager.#11623
Closed
satishd wants to merge 9 commits intoapache:trunkfrom
Closed
Added checkpoint truncation utility with inmemory writers instead of temporary files in RemoteLogManager.#11623satishd wants to merge 9 commits intoapache:trunkfrom
satishd wants to merge 9 commits intoapache:trunkfrom
Conversation
You can look at the detailed protocol changes in KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-405%3A+Kafka+Tiered+Storage#KIP405:KafkaTieredStorage-FollowerReplication
- Added RemoteIndexCacheTest - RemoteLogManager is passed to ReplicaManager which will be used to access RemoeLogSegmentMetadata and get indexes from RemoteStorageManager
…tart offset. Added new version for introduced changes for Fetch protocol. Minor code cleanups.
- minor cleanups.
…emote abnd local log segments in sequence.
- `fetchEarliestOffsetFromLeader` and `fetchLatestOffsetFromLeader` returns leader epoch with offsets. Changed the protocol to find the epoch for (localLogStartOffset -1) using leader's leader epoch instead of finding it from remote storage. - Minor code cleanups.
- Code cleanup in RemoteLogManagerTest. Those fields will be part of future tests to be added in upcoming PRs.
…temporary files in RemoteLogManager.
b91e50a to
6d069a7
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added checkpoint truncation utility with inmemory writers instead of temporary files in RemoteLogManager.
This PR is built on top of #11390
Authors: satishd@apache.org, kamal.chandraprakash@gmail.com
Committer Checklist (excluded from commit message)