This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new e36852a4930 branch-2.1: [fix](replication)
force_olap_table_replication_allocation should not be set to masterOnly #53465
(#53538)
e36852a4930 is described below
commit e36852a4930007c4198cecd39af81927cd7f75a7
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Aug 13 15:52:53 2025 +0800
branch-2.1: [fix](replication) force_olap_table_replication_allocation
should not be set to masterOnly #53465 (#53538)
Cherry-picked from #53465
Co-authored-by: camby <[email protected]>
---
fe/fe-common/src/main/java/org/apache/doris/common/Config.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
index 4b2711bcc98..be15741dcc8 100644
--- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
+++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
@@ -2471,7 +2471,7 @@ public class Config extends ConfigBase {
+ "This config is recommended to be used only in the test
environment"})
public static int force_olap_table_replication_num = 0;
- @ConfField(mutable = true, masterOnly = true, description = {
+ @ConfField(mutable = true, description = {
"用于强制设定内表的副本分布,如果该参数不为空,则用户在建表或者创建分区时指定的副本数及副本标签将被忽略,而使用本参数设置的值。"
+ "该参数影响包括创建分区、修改表属性、动态分区等操作。该参数建议仅用于测试环境",
"Used to force set the replica allocation of the internal table.
If the config is not empty, "
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]