924060929 opened a new pull request, #66604:
URL: https://github.com/apache/doris/pull/66604
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: New installations default enable_nereids_distribute_planner
to true, but upgraded clusters restore the persisted global session default
from their image. Clusters that persisted the previous false default therefore
continue using the legacy distribute planner after upgrading. Bump the variable
version to 401 and migrate enable_nereids_distribute_planner to true when an
older FE becomes master. The migration uses the existing global-variable
edit-log path and remains idempotent if startup is interrupted before the new
variable version is persisted.
### Release note
Upgraded clusters now enable the Nereids distribute planner by default.
### Check List (For Author)
- Test: Unit Test
- `VariableMgrTest#testEnableNereidsDistributePlannerAfterUpgrade`
- FE Checkstyle for fe-common and fe-core
- Behavior changed: Yes. Upgraded clusters 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]