You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2023/02/28 21:21:00 UTC

[jira] [Created] (KAFKA-14769) NPE in ControllerMetricsManager when upgrading from old KRaft version

David Arthur created KAFKA-14769:
------------------------------------

             Summary: NPE in ControllerMetricsManager when upgrading from old KRaft version
                 Key: KAFKA-14769
                 URL: https://issues.apache.org/jira/browse/KAFKA-14769
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 3.4.0
            Reporter: David Arthur
            Assignee: Jose Armando Garcia Sancio
             Fix For: 3.5.0, 3.4.1


In older KRaft versions, we could see a ConfigRecord for a topic config appear before the TopicRecord in a batch.

When upgrading from an older KRaft version (e.g., 3.1), the latest code in the KRaft controller hits an NPE when it encounters a ConfigRecord for a topic config before the TopicRecord. This was introduced relatively recently by KAFKA-14457



--
This message was sent by Atlassian Jira
(v8.20.10#820010)