You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2021/04/19 15:02:00 UTC

[jira] [Created] (KAFKA-12687) Add request cancellation to BrokerToControllerChannelManager

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)