yiguolei commented on code in PR #35383:
URL: https://github.com/apache/doris/pull/35383#discussion_r1613678090
##########
be/src/olap/parallel_scanner_builder.cpp:
##########
@@ -185,17 +293,45 @@ Status ParallelScannerBuilder<ParentType>::_load() {
for (auto& rowset : rowsets) {
RETURN_IF_ERROR(rowset->load());
+ segments_total_count += rowset->num_segments();
+ }
+ }
+
+ if (segments_total_count >= (_max_scanners_count * _segment_count_factor)
&& _is_dup_mow_key) {
Review Comment:
use max scanner count or max thread num?
--
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]