jiafu1115 commented on PR #20811: URL: https://github.com/apache/kafka/pull/20811#issuecomment-3688496663
### Integration Test Result: #### Test Case: 1. Deploy the code to one of brokers 2. Change the configure if need rlmm.config.remote.log.metadata.topic.replication.factor rlmm.config.remote.log.metadata.topic.min.isr 3. Delete the topic __remote_log_metadata 4. Restart the broker 5. Check the topic info with command: /kafka-topics.sh --bootstrap-server _ip:port_ --describe --topic __remote_log_metadata --command-config /etc/kafka/admin_config.properties #### Test Result: | Configure\Code| Trunk without this PR| Trunk with this PR | |--------|--------|--------| |Not Configure|Case1: factor: 3 + min.isr: 1|Case3: factor: 3 + min.isr: 2| |Configure: rlmm.config.remote.log.metadata.topic.replication.factor=2 rlmm.config.remote.log.metadata.topic.min.isr=1|Case2: factor: 2 + min.isr:1|Case4: factor: 2 + min.isr: 1| Case1 Resut: Topic: __remote_log_metadata TopicId: 9XTIc4rYTXKHyzBrwu_cMw PartitionCount: 50 **ReplicationFactor: 3** Configs: remote.storage.enable=false,**min.insync.replicas=1**,cleanup.policy=delete,segment.bytes=1073741824,retention.ms=-1,max.message.bytes=1073741824,preallocate=false,segment.index.bytes=10485760 Case2 Result: Topic: __remote_log_metadata TopicId: T_qtmAgkSeCnUu8-Bji3Mw PartitionCount: 50 **ReplicationFactor: 2** Configs: remote.storage.enable=false,**min.insync.replicas=1**,cleanup.policy=delete,segment.bytes=1073741824,[retention.ms](https://retention.ms/)=-1,max.message.bytes=1073741824,preallocate=false,segment.index.bytes=10485760 Case3 Result: Topic: __remote_log_metadata TopicId: w5SjlIapSe-kmu5AGsoMrw PartitionCount: 50 **ReplicationFactor: 3** Configs: remote.storage.enable=false,**min.insync.replicas=2**,cleanup.policy=delete,segment.bytes=1073741824,retention.ms=-1,max.message.bytes=1073741824,preallocate=false,segment.index.bytes=10485760 Case 4 Result: Topic: __remote_log_metadata TopicId: h1ANnhjZS5C92AsrEA4Qwg PartitionCount: 50 **ReplicationFactor: 2** Configs: remote.storage.enable=false,**min.insync.replicas=1**,cleanup.policy=delete,segment.bytes=1073741824,retention.ms=-1,max.message.bytes=1073741824,preallocate=false,segment.index.bytes=10485760 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
