You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/02/23 03:01:00 UTC
[jira] [Resolved] (KAFKA-12273) InterBrokerSendThread#pollOnce
throws FatalExitError even though it is shutdown correctly
[ https://issues.apache.org/jira/browse/KAFKA-12273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-12273.
------------------------------------
Resolution: Fixed
> InterBrokerSendThread#pollOnce throws FatalExitError even though it is shutdown correctly
> -----------------------------------------------------------------------------------------
>
> Key: KAFKA-12273
> URL: https://issues.apache.org/jira/browse/KAFKA-12273
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
> Fix For: 3.0.0, 2.8.0
>
>
> kafka tests sometimes shutdown gradle with non-zero code. The (one of) root cause is that InterBrokerSendThread#pollOnce encounters DisconnectException when NetworkClient is closing. DisconnectException should be viewed as "expected" error as we do close it. In other words, InterBrokerSendThread#pollOnce should swallow it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)