You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/09/22 14:39:00 UTC
[jira] [Commented] (FLINK-29397) Race condition in StreamTask can lead to NPE if changelog is disabled
[ https://issues.apache.org/jira/browse/FLINK-29397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608298#comment-17608298 ]
Chesnay Schepler commented on FLINK-29397:
------------------------------------------
This is trivially reproducible by disabling the changelog int he StreamTaskTest.
> Race condition in StreamTask can lead to NPE if changelog is disabled
> ---------------------------------------------------------------------
>
> Key: FLINK-29397
> URL: https://issues.apache.org/jira/browse/FLINK-29397
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Task
> Affects Versions: 1.16.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Blocker
> Fix For: 1.16.0
>
>
> {{StreamTask#processInput}} contains a branch where the changelogWriterAvailabilityProvider is accessed without a null check; this field however is nullable in case the changelog is disabled.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)