-
Notifications
You must be signed in to change notification settings - Fork 2k
[Enhancement] ignore the exec_mem_limit in pipeline execution #34120
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
[Enhancement] ignore the exec_mem_limit in pipeline execution #34120
Conversation
@Mergifyio rebase |
✅ Branch has been successfully rebased |
11fddc4
to
1839022
Compare
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
1839022
to
b16bc0e
Compare
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
29d73cf
to
8b54fd7
Compare
|
[FE Incremental Coverage Report]✅ pass : 1 / 1 (100.00%) file detail
|
[BE Incremental Coverage Report]❌ fail : 0 / 5 (00.00%) file detail
|
@Mergifyio backport branch-3.2 |
✅ Backports have been created
|
Signed-off-by: Murphy <[email protected]> Signed-off-by: Murphy <[email protected]> (cherry picked from commit 915d762) # Conflicts: # be/src/exec/pipeline/fragment_executor.cpp # be/src/exec/pipeline/query_context.cpp # be/test/exec/pipeline/query_context_test.cpp
* If `query_mem_limit` > 0, use it to limit the memory of a query. | ||
* Otherwise, no limitation |
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.
if set query_mem_limit
= 1, can a query run?
Signed-off-by: Murphy <[email protected]> Signed-off-by: Murphy <[email protected]> (cherry picked from commit 915d762)
Signed-off-by: Murphy <[email protected]> Signed-off-by: Murphy <[email protected]> (cherry picked from commit 915d762)
#34120) (backport #37517) (#37096) Co-authored-by: Murphy <[email protected]>
…cks#34120) Signed-off-by: Murphy <[email protected]> Signed-off-by: Murphy <[email protected]> Signed-off-by: 张敢 <[email protected]>
… memory limit is 0 in PR StarRocks#34120 we change default query_memory_limit to -1, which will make streaming aggregate change to limited memory mode. Signed-off-by: stdpain <[email protected]>
Fixes #issue
query_mem_limit
orexec_mem_limit
if any is positiveexec_mem_limit
for many jobs, like backup/streamload/routineloadquery_mem_limit
in pipeline enginequery_mem_limit
, it means no limit if 0, otherwise it means a hard limitationWhat type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: