jacktengg opened a new pull request, #68281:
URL: https://github.com/apache/doris/pull/68281

   Issue Number: None
   
   Related PR: None
   
   Problem Summary: Setting parallel_pipeline_task_num to 2147483647 passes its 
lower-bound-only validation and can create excessive BE pipeline tasks. Add the 
mutable max_parallel_pipeline_task_num FE configuration, defaulting to 256, and 
reject larger values before changing the session variable. Preserve zero as 
automatic pipeline parallelism.
   
   Apply configurable upper bounds to colocate parallelism, four scanner 
concurrency variables, parallel scan scanner counts, send-batch parallelism, 
and load streams per node. These values control instance creation, scanner 
splitting/scheduling, sender concurrency, or direct load-stream allocation. The 
additional limits also default to 256. Preserve existing non-positive fallback 
values, and require positive colocate and load-stream counts. Reuse the 
existing integer validation and VariableMgr setter/checker paths so SET, SET 
GLOBAL, and SET_VAR hints reject excessive values.
   
   FE rejects session concurrency values above their configurable limits, which 
default to 256. Colocate parallelism and load streams per node must also be 
positive. Automatic pipeline and scanner fallback values remain supported. 
Existing session values are not retroactively changed when an administrator 
lowers a limit.
   
   - Behavior changed: Yes; reject excessive concurrency settings and 
non-positive colocate/load-stream counts during variable assignment.
   - Does this need documentation: No; configuration descriptions are included.
   
   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


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