Dongnuo Lyu created KAFKA-21566:
-----------------------------------

             Summary: Break server assignor vote ties by assignor name
                 Key: KAFKA-21566
                 URL: https://issues.apache.org/jira/browse/KAFKA-21566
             Project: Kafka
          Issue Type: Bug
            Reporter: Dongnuo Lyu
            Assignee: Dongnuo Lyu


A consumer group picks its server assignor by member vote. With a tied
vote, the winner is whichever entry the vote map lists first. In
{{{}hasPreferredServerAssignorChanged{}}}, the heartbeat path computes the
winner twice to detect a change of preferred assignor, once from the
stored TimelineHashMap and once from a HashMap copy. The two maps can
list tied entries in different orders, so plain heartbeats looks like
an assignor change.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to