morningman commented on code in PR #12850:
URL: https://github.com/apache/doris/pull/12850#discussion_r1018036955
##########
fe/fe-core/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -1767,4 +1767,11 @@ public class Config extends ConfigBase {
*/
@ConfField(mutable = true)
public static boolean enable_new_load_scan_node = false;
+
+ /**
+ * if table has too many replicas, Fe occur oom when schema change.
+ * 120W replicas is a reasonable value for testing.
+ */
+ @ConfField(mutable = true, masterOnly = true)
+ public static long max_replica_count_when_schema_change = 1200000;
Review Comment:
How about 100000?
And please update the `docs/zh-CN/docs/admin-manual/config/fe-config.md`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]