jiafu1115 opened a new pull request, #20811:
URL: https://github.com/apache/kafka/pull/20811

   The __remote_log_metadata internal topic currently lacks a configurable 
min.insync.replicas setting, relying on the broker-level default (typically 1) 
when the factor is 3 as default. This creates a data loss risk in production 
environments, as writes may be acknowledged by only a single replica.
   
   What's more, this is inconsistent with some other cases such as 
__transaction_state, which explicitly sets min.insync.replicas=2 via the 
transaction.state.log.min.isr broker configuration. Both topics store critical 
metadata and should have equivalent durability guarantees.
   
   Note:
   ```
   public static final String REMOTE_LOG_METADATA_TOPIC_REPLICATION_FACTOR_PROP 
= "rlmm.config.remote.log.metadata.topic.replication.factor";
   public static final short 
DEFAULT_REMOTE_LOG_METADATA_TOPIC_REPLICATION_FACTOR = 3;
   ```


-- 
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]

Reply via email to