xinghuayu007 opened a new issue #6035: URL: https://github.com/apache/incubator-doris/issues/6035
**Is your feature request related to a problem? Please describe.** We found some user create a table with only one replica. It is high risking for losing data. We also found some users own a table with more than 5 replicas, it is a big waste of storage. **Describe the solution you'd like** Add 2 configurations: `public static int min_replica_num = 1;` `public static int max_replica_num = Integer.MAX_VALUE;` When user create a table or alter a table, it will check whether the property `replication_num` and `dynamic_partition.replication_num` is in [min_replica_num, min_replica_num] It limits the replication number of a table, but also a partition. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
