Skip to content

Commit

Permalink
[improve](config) set mutable and masterOnly in FE config stream_load…
Browse files Browse the repository at this point in the history
…_default_memtable_on_sink_node (apache#28835)
  • Loading branch information
kaijchen authored and stephen committed Dec 28, 2023
1 parent 7a46bf6 commit 4c96498
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/docs/admin-manual/config/fe-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ Default:false

IsMutable:true

MasterOnly:false
MasterOnly:true

Enable memtable on sink node for stream load by default.
When HTTP header `memtable_on_sink_node` is not set.
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/docs/admin-manual/config/fe-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ load 最大超时时间,适用于除 stream load 之外的所有类型的加

是否可以动态配置:true

是否为 Master FE 节点独有的配置项:false
是否为 Master FE 节点独有的配置项:true

当 HTTP header 没有设置 `memtable_on_sink_node` 的时候,stream load 是否默认打开前移

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ public class Config extends ConfigBase {
"Default pre-commit timeout for stream load job, in seconds."})
public static int stream_load_default_precommit_timeout_second = 3600; // 3600s

@ConfField(description = {"Stream Load 是否默认打开 memtable 前移",
@ConfField(mutable = true, masterOnly = true, description = {"Stream Load 是否默认打开 memtable 前移",
"Whether to enable memtable on sink node by default in stream load"})
public static boolean stream_load_default_memtable_on_sink_node = false;

Expand Down

0 comments on commit 4c96498

Please sign in to comment.