Repository navigation
to 3.0: degrade version from 4.0.0 to 3.0.0 - #23241
Merged
5 commits merged intoDec 12, 2025
Merged
5 commits merged into
5 commits merged into
Conversation
gouhongshen
marked this pull request as ready for review
December 11, 2025 10:33
gouhongshen
requested review from
LeftHandCold,
daviszhen and
zhangxu19830126
as code owners
December 11, 2025 10:33
ghost
approved these changes
Dec 11, 2025
This pull request was closed.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##21979
What this PR does / why we need it:
degrade version from 4.0.0 to 3.0.0
PR Type
Bug fix
Description
Remove v4.0.0 version package and references
Move branch metadata upgrade from v4.0.0 to v3.0.0
Delete entire v4.0.0 upgrade implementation directory
Update upgrade handler registration to exclude v4.0.0
Diagram Walkthrough
File Walkthrough
upgrade.go
Remove v4.0.0 version handler registrationpkg/bootstrap/upgrade.go
v4_0_0packagev4_0_0.Handlerregistration frominitUpgrade()functioncluster_upgrade_list.go
Delete v4.0.0 cluster upgrade list filepkg/bootstrap/versions/v4_0_0/cluster_upgrade_list.go
upg_create_mo_branch_metadatadefinition from v4.0.0log.go
Delete v4.0.0 logger utility filepkg/bootstrap/versions/v4_0_0/log.go
getLogger()helper function for v4.0.0tenant_upgrade_list.go
Delete v4.0.0 tenant upgrade list filepkg/bootstrap/versions/v4_0_0/tenant_upgrade_list.go
tenantUpgEntrieslist definitionupgrade.go
Delete v4.0.0 upgrade handler implementationpkg/bootstrap/versions/v4_0_0/upgrade.go
Handlervariable with v4.0.0 metadataversionHandlestruct and all upgrade methodscluster_upgrade_list.go
Add branch metadata table upgrade entrypkg/bootstrap/versions/v3_0_0/cluster_upgrade_list.go
upg_create_mo_branch_metadatatoclusterUpgEntrieslistMO_BRANCH_METADATAtableCREATE_NEW_TABLEtype and branch metadataDDL
upgrade_test.go
Delete v4.0.0 upgrade testspkg/bootstrap/versions/v4_0_0/upgrade_test.go