[fix](bucket) Raise autobucket_min_buckets default from 1 to 3#63729
[fix](bucket) Raise autobucket_min_buckets default from 1 to 3#63729deardeng wants to merge 3 commits into
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
/review |
|
run buildall |
There was a problem hiding this comment.
Summary: I found one blocking test-state issue. The code change itself is focused and uses the existing auto-bucket config path, but the related regression suite still restores the old default value after mutating this mutable FE config.
Critical checkpoint conclusions:
- Goal/test: The goal is to raise the auto-bucket minimum default from 1 to 3. Existing tests do not safely cover the new default because one suite resets the config back to 1.
- Scope: The code change is small and focused.
- Concurrency/lifecycle: No new concurrency or special lifecycle concerns found.
- Configuration: This changes a mutable user-visible FE config default; related tests/config reset logic must be updated.
- Compatibility/storage/transactions: No storage format, transaction, or persistence compatibility issue found for this default-only change.
- Parallel paths: Both create-table auto bucket and dynamic-partition auto bucket read Config.autobucket_min_buckets, so the changed default reaches both paths.
- Test coverage/results: Existing regression coverage has stale reset behavior and can pollute later suites.
- Observability/performance: No additional observability or performance issue found.
- User focus: No additional user-provided review focus was supplied.
TPC-H: Total hot run time: 31532 ms |
|
run buildall |
TPC-H: Total hot run time: 31300 ms |
Prevent the auto bucket algorithm from computing a bucket number that is too small. A minimum of 3 buckets provides a more reasonable lower bound for parallelism and data distribution under the auto bucket strategy.
|
run buildall |
TPC-DS: Total hot run time: 171890 ms |
FE UT Coverage ReportIncrement line coverage `` 🎉 |
TPC-H: Total hot run time: 31500 ms |
TPC-DS: Total hot run time: 172030 ms |
TPC-H: Total hot run time: 31539 ms |
TPC-DS: Total hot run time: 171381 ms |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
FE UT Coverage ReportIncrement line coverage `` 🎉 |
TPC-H: Total hot run time: 31552 ms |
TPC-DS: Total hot run time: 172798 ms |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
TPC-H: Total hot run time: 31588 ms |
TPC-DS: Total hot run time: 171707 ms |
FE UT Coverage ReportIncrement line coverage `` 🎉 |
FE Regression Coverage ReportIncrement line coverage |
Prevent the auto bucket algorithm from computing a bucket number that is too small. A minimum of 3 buckets provides a more reasonable lower bound for parallelism and data distribution under the auto bucket strategy.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)