Skip to content

Added checkpoint truncation utility with inmemory writers instead of temporary files in RemoteLogManager.#11623

Closed
satishd wants to merge 9 commits intoapache:trunkfrom
satishd:tier-checkpoint-changes
Closed

Added checkpoint truncation utility with inmemory writers instead of temporary files in RemoteLogManager.#11623
satishd wants to merge 9 commits intoapache:trunkfrom
satishd:tier-checkpoint-changes

Conversation

@satishd
Copy link
Copy Markdown
Member

@satishd satishd commented Dec 22, 2021

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)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

 - 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.
 - `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.
@satishd satishd force-pushed the tier-checkpoint-changes branch from b91e50a to 6d069a7 Compare December 22, 2021 09:14
@satishd satishd closed this Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant