Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Update default replication transaction timeout from 1 hour to 1 day (backport #51949) #51962

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -3153,7 +3153,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
Loading