nikramakrishnan opened a new pull request, #14212:
URL: https://github.com/apache/kafka/pull/14212

   This PR adds a test case for follower fetch when segments are archived and 
expired from remote storage. This test case verifies the following scenario 
(from [comment](https://github.com/apache/kafka/pull/11390/files#r1042140948)):
   
   1. Leader is archiving to tiered storage and has a follower.
   2. Follower has caught up to offset X (exclusive).
   3. While follower is offline, leader moves X to tiered storage and expires 
data locally till Y, such that, `Y = leaderLocalLogStartOffset` and 
`leaderLocalLogStartOffset > X`. Meanwhile, X has been expired from tiered 
storage as well. Hence, `X < globalLogStartOffset`.
   4. Follower comes online and tries to fetch X from leader.
   
   ### Committer Checklist (excluded from commit message)
   - [x] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to