github-actions[bot] commented on code in PR #62475:
URL: https://github.com/apache/doris/pull/62475#discussion_r3087690758


##########
be/src/common/config.cpp:
##########
@@ -318,7 +318,7 @@ 
DEFINE_Int32(task_executor_initial_max_concurrency_per_task, "-1");
 // Enable task executor in internal table scan.
 DEFINE_Bool(enable_task_executor_in_internal_table, "true");
 // Enable task executor in external table scan.
-DEFINE_Bool(enable_task_executor_in_external_table, "true");
+DEFINE_Bool(enable_task_executor_in_external_table, "false");

Review Comment:
   This flips the default external-table scan scheduler from 
`TaskExecutorSimplifiedScanScheduler` to `ThreadPoolSimplifiedScanScheduler` 
for every workload group (`be/src/runtime/workload_group/workload_group.cpp`, 
lines 580-588), but none of the scanner/counter fixes in this PR depend on that 
behavior anymore. Merging this silently disables the task-executor path for all 
external scans without any justification or coverage in the PR.
   
   ```suggestion
   DEFINE_Bool(enable_task_executor_in_external_table, "true");
   ```



##########
be/src/common/daemon.cpp:
##########
@@ -328,6 +328,7 @@ void memory_gc() {
 }
 
 void Daemon::memory_maintenance_thread() {
+    doris::enable_profile_counter_check = 0;

Review Comment:
   Disabling the check only on `memory_maintenance_thread()` does not cover the 
other path that refreshes the same process-memory counters: `/profile` calls 
`ProcessProfile::refresh_profile()` from an HTTP worker thread 
(`be/src/service/http/default_path_handlers.cpp`, line 192), which reaches 
`MemoryProfile::refresh_memory_overview_profile()`. That code sets 
`UntrackedMemory = VmRSS - all_tracked_mem_sum`, and there is no invariant that 
sampled RSS is always greater than or equal to tracked bytes. In debug builds 
the new `HighWaterMarkCounter::set()` DCHECK will still fire on that path, so 
this line only hides the crash on one thread instead of fixing the generic 
issue.



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