Skip to content

Commit

Permalink
[Enhancement] Update default replication transaction timeout from 1 h…
Browse files Browse the repository at this point in the history
…our to 1 day (StarRocks#51949)

Signed-off-by: xiangguangyxg <xiangguangyxg@gmail.com>
  • Loading branch information
xiangguangyxg authored Oct 16, 2024
1 parent dbd40cd commit 8abf47d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/en/administration/data_migration_tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The following FE parameters are dynamic configuration items. Refer to [Configure
| replication_max_parallel_table_count | 100 | - | The maximum number of concurrent data synchronization tasks allowed. StarRocks creates one synchronization task for each table. |
| replication_max_parallel_replica_count| 10240 | - | The maximum number of tablet replica allowed for concurrent synchronization. |
| replication_max_parallel_data_size_mb | 1048576 | MB | The maximum size of data allowed for concurrent synchronization. |
| replication_transaction_timeout_sec | 3600 | Seconds | The timeout duration for synchronization tasks. |
| replication_transaction_timeout_sec | 86400 | Seconds | The timeout duration for synchronization tasks. |

#### BE Parameters

Expand Down
2 changes: 1 addition & 1 deletion docs/en/administration/management/FE_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4889,7 +4889,7 @@ ADMIN SET FRONTEND CONFIG ("key" = "value");
<!--
##### replication_transaction_timeout_sec
- Default: 1 * 60 * 60
- Default: 24 * 60 * 60
- Type: Int
- Unit: Seconds
- Is mutable: Yes
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/administration/data_migration_tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ADMIN SET FRONTEND CONFIG("lake_compaction_max_tasks"="-1");
| replication_max_parallel_table_count | 100 | - | 允许并发执行的数据同步任务数。StarRocks 为一张表创建一个同步任务。 |
| replication_max_parallel_replica_count| 10240 | - | 允许并发同步的 tablet 副本数。 |
| replication_max_parallel_data_size_mb | 1048576 | MB | 允许并发同步的数据量。 |
| replication_transaction_timeout_sec | 3600 || 同步任务的超时时间。 |
| replication_transaction_timeout_sec | 86400 || 同步任务的超时时间。 |

#### BE 参数

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/administration/management/FE_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4884,7 +4884,7 @@ Compaction Score 代表了一个表分区是否值得进行 Compaction 的评分
<!--
##### replication_transaction_timeout_sec
- 默认值:1 * 60 * 60
- 默认值:24 * 60 * 60
- 类型:Int
- 单位:Seconds
- 是否动态:是
Expand Down
2 changes: 1 addition & 1 deletion fe/fe-core/src/main/java/com/starrocks/common/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -3184,7 +3184,7 @@ public class Config extends ConfigBase {
@ConfField(mutable = true)
public static int replication_max_parallel_data_size_mb = 1048576; // 1T
@ConfField(mutable = true)
public static int replication_transaction_timeout_sec = 1 * 60 * 60; // 1hour
public static int replication_transaction_timeout_sec = 24 * 60 * 60; // 24hour
@ConfField(mutable = true)
public static boolean enable_legacy_compatibility_for_replication = false;

Expand Down

0 comments on commit 8abf47d

Please sign in to comment.