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 2021/03/04 23:25:00 UTC

[jira] [Created] (KAFKA-12426) Missing logic to create partition.metadata files in RaftReplicaManager

Jason Gustafson created KAFKA-12426:
---------------------------------------

             Summary: Missing logic to create partition.metadata files in RaftReplicaManager
                 Key: KAFKA-12426
                 URL: https://issues.apache.org/jira/browse/KAFKA-12426
             Project: Kafka
          Issue Type: Improvement
            Reporter: Jason Gustafson
            Assignee: Justine Olshan


As part of KIP-516, the broker should create a partition.metadata file for each partition in order to keep track of the topicId. This is done through `Partition.checkOrSetTopicId`. This is done in `ReplicaManager.becomeLeaderOrFollower`, but we need to implement analogous logic in `RaftReplicaManager.handleMetadataRecords`.



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