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

   - Changing log message from error to warn - We may expect the HW calculation 
to give us a smaller result than the current HW in the case of quorum 
reconfiguration. We will continue to _not_ allow the HW to actually decrease.
   - Logic for finding the updated LeaderEndOffset for updateReplicaState is 
changed as well. We do _not_ assume the leader is in the voter set and check 
the observer states as well.
   - Package-private method for removing nodes from the voterSet added to 
LeaderState for testing purposes
   - Two tests added which check
     - Removing follower from voter set will not cause HW to decrease. HW will 
continue to update once the other follower catches up
     - Removing leader from voter set will not cause HW to decrease. HW will 
continue to update once majority of new voter set (both followers in this case) 
are caught up.
   
   
   ### 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