[ https://issues.apache.org/jira/browse/KAFKA-18165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chirag Wadhwa updated KAFKA-18165: ---------------------------------- Description: nodesWithPendingRequests is being updated everytime, even when the request could not be built (requestBuilder is null). This should not be the case, as it would not allow any further requests to be sent seeing the node occupied already. Fix - update nodesWithPendingRequests only if a request was built successfully > Update nodesWithPendingRequests only when a request successfully builds > ----------------------------------------------------------------------- > > Key: KAFKA-18165 > URL: https://issues.apache.org/jira/browse/KAFKA-18165 > Project: Kafka > Issue Type: Sub-task > Reporter: Chirag Wadhwa > Assignee: Andrew Schofield > Priority: Major > > nodesWithPendingRequests is being updated everytime, even when the request > could not be built (requestBuilder is null). This should not be the case, as > it would not allow any further requests to be sent seeing the node occupied > already. > > Fix - update nodesWithPendingRequests only if a request was built successfully -- This message was sent by Atlassian Jira (v8.20.10#820010)