github-actions[bot] commented on code in PR #62764:
URL: https://github.com/apache/doris/pull/62764#discussion_r3144732614


##########
be/src/cloud/cloud_warm_up_manager.cpp:
##########
@@ -581,6 +581,23 @@ std::vector<TReplicaInfo> 
CloudWarmUpManager::get_replica_info(int64_t tablet_id
 }
 
 void CloudWarmUpManager::warm_up_rowset(RowsetMeta& rs_meta, int64_t 
sync_wait_timeout_ms) {
+    if (sync_wait_timeout_ms <= 0) {
+        auto rs_meta_pb = 
std::make_shared<RowsetMetaPB>(rs_meta.get_rowset_pb());

Review Comment:
   `warm_up_rowset()` is on the commit path for every load-generated rowset. 
Before this change each caller waited for its submitted task to finish, which 
implicitly bounded the number of outstanding warm-up jobs. With this 
fire-and-forget branch, callers can enqueue unlimited `RowsetMetaPB` copies 
while `CloudWarmUpManagerThreadPool` still only has 
`warm_up_manager_thread_pool_size` workers and its builder never sets 
`max_queue_size`, so the queue stays effectively unbounded. Under an active 
LOAD warm-up job, a slow FE replica lookup or slow target-BE RPC will now let 
this backlog grow without bound, and `recycle_cache()` submissions share the 
same token, so cache-recycle work can get stuck behind it. Please keep some 
form of backpressure or add a real queue bound here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to