Skip to content

Commit c40694a

Browse files
author
宋光璠
committed
fix1
1 parent 9d23c13 commit c40694a

File tree

3 files changed

+414
-0
lines changed

3 files changed

+414
-0
lines changed

be/src/common/config.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ DEFINE_String(memory_mode, "moderate");
106106

107107
DEFINE_mBool(enable_use_cgroup_memory_info, "true");
108108

109+
DEFINE_mBool(enable_stream_load_mysql, "false");
110+
109111
// process memory limit specified as number of bytes
110112
// ('<int>[bB]?'), megabytes ('<float>[mM]'), gigabytes ('<float>[gG]'),
111113
// or percentage of the physical memory ('<int>%').

be/src/common/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ DECLARE_mInt64(crash_in_alloc_large_memory_bytes);
225225
// 2. print more memory logs.
226226
DECLARE_mBool(crash_in_memory_tracker_inaccurate);
227227

228+
// config to enable Stream Load functionality through SQL statements.
229+
DECLARE_mBool(enable_stream_load_mysql);
230+
228231
// default is true. if any memory tracking in Orphan mem tracker will report error.
229232
// !! not modify the default value of this conf!! otherwise memory errors cannot be detected in time.
230233
// allocator free memory not need to check, because when the thread memory tracker label is Orphan,

0 commit comments

Comments
 (0)