You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "HappenLee (via GitHub)" <gi...@apache.org> on 2023/06/29 06:15:11 UTC

[GitHub] [doris] HappenLee commented on a diff in pull request #21226: [Opt](scan) opt the scanner schedule logic

HappenLee commented on code in PR #21226:
URL: https://github.com/apache/doris/pull/21226#discussion_r1246157359


##########
be/src/vec/exec/scan/pip_scanner_context.h:
##########
@@ -152,23 +152,10 @@ class PipScannerContext : public vectorized::ScannerContext {
     }
 
     bool has_enough_space_in_blocks_queue() const override {
-        return _current_used_bytes < _max_bytes_in_queue / 2 * _num_parallel_instances;
+        return _current_used_bytes < _max_bytes_in_queue  * _num_parallel_instances;

Review Comment:
   _max_bytes_in_queue  is the scan_queue_mem_limit



-- 
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: commits-unsubscribe@doris.apache.org

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


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