You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Boyang Chen (Jira)" <ji...@apache.org> on 2020/07/29 06:31:00 UTC

[jira] [Commented] (KAFKA-10321) shouldDieOnInvalidOffsetExceptionWhileRunning would block forever on JDK11

    [ https://issues.apache.org/jira/browse/KAFKA-10321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166909#comment-17166909 ] 

Boyang Chen commented on KAFKA-10321:
-------------------------------------

Looks like we have an infinite blocking logic in `GlobalStreamThread`
{code:java}
@Override
public synchronized void start() {
    super.start();
    while (!stillRunning()) {
        Utils.sleep(1);
        if (startupException != null) {
            throw startupException;
        }
    }
}
{code}

> shouldDieOnInvalidOffsetExceptionWhileRunning would block forever on JDK11
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-10321
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10321
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Boyang Chen
>            Priority: Major
>
> Have spotted two definite cases where the test  shouldDieOnInvalidOffsetExceptionWhileRunning fails to stop during the whole test suite:
> [https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/7604/consoleFull]
> [https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/7602/console]



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