You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "zhaobo (Jira)" <ji...@apache.org> on 2022/06/13 12:42:00 UTC

[jira] [Created] (KAFKA-13984) Fix TopicBasedRemoteLogMetadataManager#initializeResources should return immediately when the result of isPartitionsCountSameAsConfigured method is false

zhaobo created KAFKA-13984:
------------------------------

             Summary: Fix TopicBasedRemoteLogMetadataManager#initializeResources should return immediately when the result of isPartitionsCountSameAsConfigured method is false
                 Key: KAFKA-13984
                 URL: https://issues.apache.org/jira/browse/KAFKA-13984
             Project: Kafka
          Issue Type: Improvement
    Affects Versions: 3.2.0
            Reporter: zhaobo


When  executing 
{code:java}
TopicBasedRemoteLogMetadataManager.initializeResources{code}
, if the result of isPartitionsCountSameAsConfigured method is false.

It means that the actual number of partitions in the internal topic __remote_log_metadata is inconsistent with the number of partitions configured in our configuration file
At this time, it is not very reasonable to continue the subsequent initialization process.
We should raise an error to exit.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)