vagetablechicken removed a comment on issue #3929:
URL: 
https://github.com/apache/incubator-doris/issues/3929#issuecomment-648548777


   Maybe the `_scan_batches_lock` is far away from `_scan_batch_added_cv`?
   
https://github.com/apache/incubator-doris/blob/b8ee84a120813181733c6ac8cd5b9fd3c9b2f674/be/src/exec/olap_scan_node.cpp#L1278-L1280
   
https://github.com/apache/incubator-doris/blob/b8ee84a120813181733c6ac8cd5b9fd3c9b2f674/be/src/exec/olap_scan_node.cpp#L1310-L1322
   We unlocked the `_scan_batches_lock`, then `notify_one()`? So `notify_one()` 
is not the owner of lock?


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to