924060929 opened a new pull request, #66631:
URL: https://github.com/apache/doris/pull/66631
### What problem does this PR solve?
Issue Number: None
Related PR: #66604
Problem Summary: New installations default enable_nereids_distribute_planner
to true, but clusters upgrading from a variable version below 400 restore the
persisted global session default from their image. Clusters that persisted the
previous false default would therefore continue using the legacy distribute
planner after upgrading to 4.0. Add enable_nereids_distribute_planner to the
existing variable-version-400 migration so that the 3.x-to-4.0 upgrade enables
it. The migration uses the existing global-variable edit-log path and does not
change clusters whose variable version is already 400.
### Release note
Clusters upgrading to 4.0 now enable the Nereids distribute planner by
default.
### Check List (For Author)
- Test: Unit Test
- `VariableMgrTest#testEnableNereidsDistributePlannerAfterUpgrade`
- FE Checkstyle for fe-core
- Behavior changed: Yes. Clusters upgrading from a variable version below
400 default to the Nereids distribute planner.
- Does this need documentation: No
--
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]