dajac opened a new pull request #8801:
URL: https://github.com/apache/kafka/pull/8801


   We have noticed that the `LiveLeaders` field in the LeaderAndIsrRequest is 
not used anywhere but still populated by the controller.
   
   It seems that that field was introduced in AK `0.8.0` and was supposed to be 
removed in AK `0.8.1`: 
https://github.com/apache/kafka/blob/0.8.0/core/src/main/scala/kafka/cluster/Partition.scala#L194.
 It has not been used since then.
   
   This PR proposes to simply stop populating the field for any version > 0. It 
avoids to compute the live leaders set and also reduces the size of the request 
on the wire.
   
   ### 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.

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


Reply via email to