From a64eaca09678fbead21069bfa58a9eb7ecfcb3f1 Mon Sep 17 00:00:00 2001 From: Gavin Chou Date: Tue, 3 Sep 2024 23:16:41 +0800 Subject: [PATCH] [chore](recycler) Change tablet_rowset_stale_sweep_time_sec=600 to reduce possibility failed to find rowset (#40076) When there is a large query, the stale rowsets may be recycled before the query referencing them, which may cause -230, or import of MoW table failed to find rowset. --- be/src/common/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp index 8e2621a2ae03f2..dd615c1a2e79f2 100644 --- a/be/src/common/config.cpp +++ b/be/src/common/config.cpp @@ -305,7 +305,7 @@ DEFINE_mInt32(default_num_rows_per_column_file_block, "1024"); // pending data policy DEFINE_mInt32(pending_data_expire_time_sec, "1800"); // inc_rowset snapshot rs sweep time interval -DEFINE_mInt32(tablet_rowset_stale_sweep_time_sec, "300"); +DEFINE_mInt32(tablet_rowset_stale_sweep_time_sec, "600"); // tablet stale rowset sweep by threshold size DEFINE_Bool(tablet_rowset_stale_sweep_by_size, "false"); DEFINE_mInt32(tablet_rowset_stale_sweep_threshold_size, "100");