Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve](config) set mutable and masterOnly for FE config stream_load_default_memtable_on_sink_node #28835

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading