David Arthur created KAFKA-12687:
------------------------------------

             Summary: Add request cancellation to 
BrokerToControllerChannelManager
                 Key: KAFKA-12687
                 URL: https://issues.apache.org/jira/browse/KAFKA-12687
             Project: Kafka
          Issue Type: Improvement
            Reporter: David Arthur


It would be nice if the broker-to-controller channel manager had the ability to 
cancel inflight requests. Since we process requests serially, this could avoid 
wasting time waiting on requests which are destined to fail.

One example is inflight ISR update requests after a leader election. The 
inflight request has the old leader epoch and we know it will fail. Currently, 
we have to wait for this request to complete before we can enqueue any new ISR 
changes for the partition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to