Skip to content

Commit

Permalink
[improvement](config) update be config max_runnings_transactions_per_…
Browse files Browse the repository at this point in the history
…txn_map default value (apache#21060)
  • Loading branch information
DongLiang-0 authored Jun 21, 2023
1 parent 6ac0bfe commit 442a734
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/en/docs/admin-manual/config/be-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/docs/admin-manual/config/be-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit 442a734

Please sign in to comment.