Skip to content

[improvement](fe) Adjust scanner defaults for branch-4.2 - #68376

Open
HappenLee wants to merge 1 commit into
apache:branch-4.2from
HappenLee:improvement/scanner-defaults-4.2
Open

HappenLee wants to merge 1 commit into
apache:branch-4.2from
HappenLee:improvement/scanner-defaults-4.2

Conversation

@HappenLee

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: None

Related PR: #68374, #63389, #65263

Problem Summary:

On branch-4.2, sessions currently default to min_scanners_concurrency = 1 and enable_expr_zonemap_filter = false. Set these defaults to 4 and true, respectively, and update the English and Chinese session-variable descriptions.

This enables the existing expression ZoneMap filtering path by default and raises the minimum scanner concurrency under the existing scanner-count, concurrency and memory limits. Serial scans continue to use one scanner. Both variables remain configurable through the existing session/global settings and are already forwarded to BE.

Release note

Enable expression ZoneMap filtering by default and increase the default min_scanners_concurrency from 1 to 4.

Check List (For Author)

  • Test: FE unit tests and Checkstyle passed.
    • MAVEN_ARGS='-T 48' bash run-fe-ut.sh --run org.apache.doris.qe.SessionVariablesTest,org.apache.doris.qe.VariableMgrTest: 29 tests, 0 failures/errors/skips.
    • mvn -T 48 checkstyle:check -pl fe-core (from fe/): 0 violations.
    • git diff --check: passed.
  • Behavior changed: Yes. The two session defaults change as described above.
  • Does this need documentation: No. Both session-variable descriptions are updated.

### What problem does this PR solve?

Issue Number: None

Related PR: apache#68374, apache#63389, apache#65263

Problem Summary:

On branch-4.2, sessions currently default to `min_scanners_concurrency = 1` and `enable_expr_zonemap_filter = false`. Set these defaults to `4` and `true`, respectively, and update the English and Chinese session-variable descriptions.

This enables the existing expression ZoneMap filtering path by default and raises the minimum scanner concurrency under the existing scanner-count, concurrency and memory limits. Serial scans continue to use one scanner. Both variables remain configurable through the existing session/global settings and are already forwarded to BE.

### Release note

Enable expression ZoneMap filtering by default and increase the default `min_scanners_concurrency` from `1` to `4`.

### Check List (For Author)

- Test: FE unit tests and Checkstyle passed.
    - `MAVEN_ARGS='-T 48' bash run-fe-ut.sh --run org.apache.doris.qe.SessionVariablesTest,org.apache.doris.qe.VariableMgrTest`: 29 tests, 0 failures/errors/skips.
    - `mvn -T 48 checkstyle:check -pl fe-core` (from `fe/`): 0 violations.
    - `git diff --check`: passed.
- Behavior changed: Yes. The two session defaults change as described above.
- Does this need documentation: No. Both session-variable descriptions are updated.
@HappenLee
HappenLee requested a review from yiguolei as a code owner September 22, 2026 07:47
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants