You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2019/12/08 07:21:00 UTC
[jira] [Created] (KAFKA-9287) Transaction completion may block
unnecessarily after abortable error
Jason Gustafson created KAFKA-9287:
--------------------------------------
Summary: Transaction completion may block unnecessarily after abortable error
Key: KAFKA-9287
URL: https://issues.apache.org/jira/browse/KAFKA-9287
Project: Kafka
Issue Type: Bug
Reporter: Jason Gustafson
Assignee: Jason Gustafson
This was discovered while investigating the delay in `AuthorizerIntegrationTest.testTransactionalProducerTopicAuthorizationExceptionInCommit` which typically takes 35 seconds rather than 5 seconds like most of these other tests in this class. There is an edge case on transaction completion if an AddPartitionsToTxn request fails with an abortable error in which the producer may be left blocking in `NetworkClient.poll` without failing the pending commit and without any pending requests. Ultimately the test case was blocking the full 30s request timeout before failing the transaction.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)