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

    Catch exceptions around split->process() in TimeSharingTaskExecutor and
   convert them to split failure status.
   
   This avoids worker thread termination and BE crash for cases :
   
   ```
   erminate called after throwing an instance of 'doris::Exception' what(): 
[E-7412] assert cast err:[E-7412] Bad cast from
   ...
   
doris::vectorized::ScannerSplitRunner::process_for(std::chrono::duration<long, 
std::ratio<1l, 1000000000l> >) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/scanner_scheduler.cpp:420
 10# doris::vectorized::PrioritizedSplitRunner::process() at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/executor/time_sharing/prioritized_split_runner.cpp:104
 11# doris::vectorized::TimeSharingTaskExecutor::_dispatch_thread() at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/executor/time_sharing/time_sharing_task_executor.cpp:568
 12#
   ```
   
   , while keeping MEM_ALLOC_FAILED mapped to
   MemoryLimitExceeded.
   


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