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

   The new coordinator stops loading if the partition goes offline during load. 
However, the partition is still considered active. Instead, we should return 
NOT_LEADER_OR_FOLLOWER exception during load.
   
   Another change is that we only want to invoke 
CoordinatorPlayback#updateLastCommittedOffset if the current offset (last 
written offset) is greater than or equal to the current high watermark. This is 
to ensure that in the case the high watermark is ahead of the current offset, 
we don't clear snapshots prematurely.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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