Skip to content

Commit

Permalink
[fix](cloud-mow) Make some timeout about mow more reasonable (apache#…
Browse files Browse the repository at this point in the history
…46365)

Now some timeout config is not suitable for high concurrency loading on
Mow table, which may lead to frequent lock timeouts.
  • Loading branch information
hust-hhb authored Jan 29, 2025
1 parent 9e57929 commit c3e8c64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ DEFINE_mBool(sync_file_on_close, "true");
DEFINE_mInt32(thrift_rpc_timeout_ms, "60000");

// txn commit rpc timeout
DEFINE_mInt32(txn_commit_rpc_timeout_ms, "60000");
DEFINE_mInt32(txn_commit_rpc_timeout_ms, "180000");

// If set to true, metric calculator will run
DEFINE_Bool(enable_metric_calculator, "true");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3277,8 +3277,8 @@ public static int metaServiceRpcRetryTimes() {
@ConfField(mutable = true, description = {"存算分离模式下fe向ms请求锁的过期时间,默认60s"})
public static int delete_bitmap_lock_expiration_seconds = 60;

@ConfField(mutable = true, description = {"存算分离模式下calculate delete bitmap task 超时时间,默认15s"})
public static int calculate_delete_bitmap_task_timeout_seconds = 15;
@ConfField(mutable = true, description = {"存算分离模式下calculate delete bitmap task 超时时间,默认60s"})
public static int calculate_delete_bitmap_task_timeout_seconds = 60;

@ConfField(mutable = true, description = {"存算分离模式下事务导入calculate delete bitmap task 超时时间,默认300s"})
public static int calculate_delete_bitmap_task_timeout_seconds_for_transaction_load = 300;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public class SessionVariable implements Serializable, Writable {

public static final String ENABLE_INFER_PREDICATE = "enable_infer_predicate";

public static final long DEFAULT_INSERT_VISIBLE_TIMEOUT_MS = 10_000;
public static final long DEFAULT_INSERT_VISIBLE_TIMEOUT_MS = 60_000;

public static final String ENABLE_VECTORIZED_ENGINE = "enable_vectorized_engine";

Expand Down

0 comments on commit c3e8c64

Please sign in to comment.