hello-stephen commented on PR #70976:
URL: https://github.com/apache/doris/pull/70976#issuecomment-7420808565
<!-- qe-pr-pick:v1:0e643ae1598ce482f38074e01605c3bafafdd4e6 -->
**Doris pick review**
- PR: #70976
- Patch: `cad59fa27e8770c7e666dc6fc57163825ac292b8`
- Classification: `bugfix` (high)
- Why: Fixes missing numeric bounds validation that let invalid config and
session values such as data_queue_max_blocks=-1 pass FE and overflow unsigned
BE capacities or audit interval arithmetic.
- Evidence:
- title prefix [fix](fe) and body section PR Type: Bugfix
- diff adds NumericRange bounds checks in
ConfigBase.setConfigField/setMutableConfig and VariableMgr.setValue instead of
adding a new user-facing capability
- Config.java, SessionVariable.java and GlobalVariable.java annotate
existing fields with minValue/maxValue, including data_queue_max_blocks
- new regression suites assert that negative and out-of-range values are
rejected
- Mode: `labeled` - added missing pick labels
- Labels expected:
`dev/4.1.x,dev/4.1.x-conflict,dev/4.2.x,dev/4.2.x-conflict`
- Labels applied: `dev/4.1.x,dev/4.1.x-conflict,dev/4.2.x,dev/4.2.x-conflict`
**Fields**
| Field | Meaning |
|---|---|
| `candidate` | cherry-picks onto the branch without conflicts (same check
as the upstream auto-pick). |
| `conflict` | the cherry-pick reports conflicts (`null` means the check
failed). |
| `affected` | `false` means the problem this fix addresses does not exist
on that branch, so no pick label is applied there. |
| `feature` | the deterministic probe behind `affected` (`present` / `weak`
/ `absent` / `unknown`). |
| `gate` | for 4.1, `true` means `usercase` or `p0_*` material requires
human review. |
| `pick` | `official` = apply branch labels; `comment-only` = status only,
no label. |
**dev/3.1.x / branch-3.1**
| candidate | conflict | affected | feature | gate | pick |
|---|---|---|---|---|---|
| false | true | true | present | false | comment-only |
**dev/4.0.x / branch-4.0**
| candidate | conflict | affected | feature | gate | pick |
|---|---|---|---|---|---|
| false | true | true | present | false | comment-only |
**dev/4.1.x / branch-4.1**
| candidate | conflict | affected | feature | gate | pick |
|---|---|---|---|---|---|
| false | true | true | present | false | official |
**dev/4.2.x / branch-4.2**
| candidate | conflict | affected | feature | gate | pick |
|---|---|---|---|---|---|
| false | true | true | present | false | official |
--
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]