bobhan1 opened a new pull request, #63877:
URL: https://github.com/apache/doris/pull/63877

   ## Proposed changes
   
   Backport upstream commit `24cb2f77cb248e0fd6c5329136c4a0fce3c52bd4` to 
`branch-4.0`.
   
   This changes `CloudWarmUpManager::warm_up_rowset` so non-positive 
`sync_wait_timeout_ms` submits async rowset warmup work and returns 
immediately, while copying the rowset meta for the background task. Positive 
timeout waits now use an explicit `finished` flag to avoid returning on 
spurious wakeups.
   
   The new unit test was adapted for the 4.0 include layout.
   
   ## Root cause
   
   Async rowset warmup still waited on a condition variable even when 
`sync_wait_timeout_ms` was non-positive.
   
   ## Testing
   
   ```
   git diff HEAD^ --check
   ./run-be-ut.sh --run --filter=CloudWarmUpManagerTest.* -j100
   ```
   


-- 
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