jiafu1115 commented on PR #20203: URL: https://github.com/apache/kafka/pull/20203#issuecomment-3451054813
Update: Attached another test case and the corresponding result. **Title:** Startup behavior for topic-based RLMM when restarting broker 3 after shutting down broker 1 and 2 **Precondition:** 1. Kafka cluster setup: 3 Brokers + 3 Controllers 2. Kafka cluster enable remote storage **Steps:** 1. Shutdown broker 1 and broker 2. 2. Wait for a sufficient delay/Check process to ensure broker 1 and broker 2 have been completely shut down. 3. Restart broker 3 and check the startup logs of broker 3 for the initialization process of topic-based RLMM resources. **Expected Result:** 1. No connection errors occur during the initialization of topic-based RLMM resources. 2. Initialization of topic-based RLMM resources succeeds immediately after the broker ready callback. **Test Result:** ``` [2025-10-26 11:36:14,561] INFO Broker is ready for requests, now initializing topic-based RLMM resources (org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager) [2025-10-26 11:36:14,561] INFO Initializing topic-based RLMM resources (org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager) [2025-10-26 11:36:14,688] INFO Topic __remote_log_metadata exists. TopicId: GhWhjHXDSKyXS4U1kRnSiw, numPartitions: 50 (org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager) [2025-10-26 11:36:14,806] INFO Initialized topic-based RLMM resources successfully (org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager) ``` -- 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]
