-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[improve](profile) Check profile counter should always gt than 0 #62475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
13e49da
bae4eac
4003df9
a6bb11a
4f8159c
a1c689d
59cd609
a2de111
7c7ebd9
8add74a
07472c7
b5fde6f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -328,6 +328,7 @@ void memory_gc() { | |
| } | ||
|
|
||
| void Daemon::memory_maintenance_thread() { | ||
| doris::enable_profile_counter_check = 0; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Disabling the check only on |
||
| while (!_stop_background_threads_latch.wait_for( | ||
| std::chrono::milliseconds(config::memory_maintenance_sleep_time_ms))) { | ||
| // step 1. Refresh process memory metrics. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This flips the default external-table scan scheduler from
TaskExecutorSimplifiedScanSchedulertoThreadPoolSimplifiedScanSchedulerfor 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.