This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 376f4a3dfc9 [Fix](warmup) Fix wrong rowset data size when calculating
timeout of waiting delay compaction (#61188)
376f4a3dfc9 is described below
commit 376f4a3dfc9344205dd7e0b2d33982c3142bf1f7
Author: bobhan1 <[email protected]>
AuthorDate: Wed Mar 18 12:49:00 2026 +0800
[Fix](warmup) Fix wrong rowset data size when calculating timeout of
waiting delay compaction (#61188)
---
be/src/cloud/cloud_meta_mgr.cpp | 2 +-
be/src/cloud/config.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/cloud/cloud_meta_mgr.cpp b/be/src/cloud/cloud_meta_mgr.cpp
index bfa58af43d4..04a50c75652 100644
--- a/be/src/cloud/cloud_meta_mgr.cpp
+++ b/be/src/cloud/cloud_meta_mgr.cpp
@@ -1372,7 +1372,7 @@ Status CloudMetaMgr::commit_rowset(RowsetMeta& rs_meta,
const std::string& job_i
const double speed_mbps = 100.0; // 100MB/s
const double safety_factor = 2.0;
timeout_ms = std::min(
-
std::max(static_cast<int64_t>(static_cast<double>(rs_meta.data_disk_size()) /
+
std::max(static_cast<int64_t>(static_cast<double>(rs_meta.total_disk_size()) /
(speed_mbps * 1024 * 1024) *
safety_factor * 1000),
config::warm_up_rowset_sync_wait_min_timeout_ms),
config::warm_up_rowset_sync_wait_max_timeout_ms);
diff --git a/be/src/cloud/config.cpp b/be/src/cloud/config.cpp
index 8c148982a7b..34809c1b81c 100644
--- a/be/src/cloud/config.cpp
+++ b/be/src/cloud/config.cpp
@@ -128,7 +128,7 @@ DEFINE_mInt64(warm_up_rowset_slow_log_ms, "1000");
DEFINE_mBool(enable_compaction_delay_commit_for_warm_up, "false");
-DEFINE_mInt64(warm_up_rowset_sync_wait_min_timeout_ms, "10000");
+DEFINE_mInt64(warm_up_rowset_sync_wait_min_timeout_ms, "500");
DEFINE_mInt64(warm_up_rowset_sync_wait_max_timeout_ms, "120000");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]