Sanjana Kaundinya created KAFKA-9558:

             Summary: getListOffsetsCalls doesn't update node in case of leader 
                 Key: KAFKA-9558
             Project: Kafka
          Issue Type: Bug
          Components: admin
    Affects Versions: 2.5.0
            Reporter: Sanjana Kaundinya
            Assignee: Sanjana Kaundinya

As seen here:

In handling the response in the `listOffsets` call, if there are errors in the 
topic partition that require a metadata refresh, it simply passes the call 
object as `this`. This produces incorrect behavior if there was a leader 
change, because the call object never gets its leader node updated. This will 
result in a tight loop of list offsets being called to the same old leader and 
not resulting in offsets, even though the metadata was correctly updated.

This message was sent by Atlassian Jira

Reply via email to