Skip to content

Commit

Permalink
fix1
Browse files Browse the repository at this point in the history
  • Loading branch information
宋光璠 committed Dec 19, 2024
1 parent 9d23c13 commit c40694a
Show file tree
Hide file tree
Showing 3 changed files with 414 additions and 0 deletions.
2 changes: 2 additions & 0 deletions be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ DEFINE_String(memory_mode, "moderate");

DEFINE_mBool(enable_use_cgroup_memory_info, "true");

DEFINE_mBool(enable_stream_load_mysql, "false");

// process memory limit specified as number of bytes
// ('<int>[bB]?'), megabytes ('<float>[mM]'), gigabytes ('<float>[gG]'),
// or percentage of the physical memory ('<int>%').
Expand Down
3 changes: 3 additions & 0 deletions be/src/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ DECLARE_mInt64(crash_in_alloc_large_memory_bytes);
// 2. print more memory logs.
DECLARE_mBool(crash_in_memory_tracker_inaccurate);

// config to enable Stream Load functionality through SQL statements.
DECLARE_mBool(enable_stream_load_mysql);

// default is true. if any memory tracking in Orphan mem tracker will report error.
// !! not modify the default value of this conf!! otherwise memory errors cannot be detected in time.
// allocator free memory not need to check, because when the thread memory tracker label is Orphan,
Expand Down
Loading

0 comments on commit c40694a

Please sign in to comment.