You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2020/01/09 19:12:00 UTC

[jira] [Resolved] (KAFKA-9287) Transaction completion may block unnecessarily after abortable error

     [ https://issues.apache.org/jira/browse/KAFKA-9287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Gustafson resolved KAFKA-9287.
------------------------------------
    Fix Version/s: 2.5.0
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 2.5.0
>
>
> 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)