You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/06/21 12:29:19 UTC

[doris] branch master updated: [improvement](config) update be config max_runnings_transactions_per_txn_map default value (#21060)

This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 442a734ef5 [improvement](config) update be config max_runnings_transactions_per_txn_map default value (#21060)
442a734ef5 is described below

commit 442a734ef561d54ab364a3a673c0ec5b7b95819c
Author: DongLiang-0 <46...@users.noreply.github.com>
AuthorDate: Wed Jun 21 20:29:13 2023 +0800

    [improvement](config) update be config max_runnings_transactions_per_txn_map default value (#21060)
---
 be/src/common/config.cpp                         | 2 +-
 docs/en/docs/admin-manual/config/be-config.md    | 2 +-
 docs/zh-CN/docs/admin-manual/config/be-config.md | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 134079d9b8..37a2dce56f 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -668,7 +668,7 @@ DEFINE_mBool(transfer_large_data_by_brpc, "false");
 
 // max number of txns for every txn_partition_map in txn manager
 // this is a self protection to avoid too many txns saving in manager
-DEFINE_mInt64(max_runnings_transactions_per_txn_map, "100");
+DEFINE_mInt64(max_runnings_transactions_per_txn_map, "2000");
 
 // tablet_map_lock shard size, the value is 2^n, n=0,1,2,3,4
 // this is a an enhancement for better performance to manage tablet
diff --git a/docs/en/docs/admin-manual/config/be-config.md b/docs/en/docs/admin-manual/config/be-config.md
index 822650a3e0..55bc344547 100644
--- a/docs/en/docs/admin-manual/config/be-config.md
+++ b/docs/en/docs/admin-manual/config/be-config.md
@@ -1410,7 +1410,7 @@ Indicates how many tablets failed to load in the data directory. At the same tim
 #### `max_runnings_transactions_per_txn_map`
 
 * Description: Max number of txns for every txn_partition_map in txn manager, this is a self protection to avoid too many txns saving in manager
-* Default value: 100
+* Default value: 2000
 
 #### `max_download_speed_kbps`
 
diff --git a/docs/zh-CN/docs/admin-manual/config/be-config.md b/docs/zh-CN/docs/admin-manual/config/be-config.md
index 19dd942fe0..cdcb2559a8 100644
--- a/docs/zh-CN/docs/admin-manual/config/be-config.md
+++ b/docs/zh-CN/docs/admin-manual/config/be-config.md
@@ -1427,7 +1427,7 @@ load tablets from header failed, failed tablets size: xxx, path=xxx
 #### `max_runnings_transactions_per_txn_map`
 
 * 描述: txn 管理器中每个 txn_partition_map 的最大 txns 数,这是一种自我保护,以避免在管理器中保存过多的 txns
-* 默认值: 100
+* 默认值: 2000
 
 #### `max_download_speed_kbps`
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org