-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
[#9797] YSQL: Stubs for ysql major version upgrade RPCs
Summary: The pg15-upgrade branch has implementations of 3 RPCs needed for the YSQL major version upgrade: * StartYsqlMajorVersionUpgradeInitdb * IsYsqlMajorVersionUpgradeInitdbDone * RollbackYsqlMajorVersionUpgrade In order to facilitate integration with tools such as YBA, add stubs for these methods to the master branch. Upgrade/Downgrade safety: No issues. New, unimplemented interface. Jira: DB-1591 Test Plan: Jenkins Using a recent pg15-upgrade build, manually run: yb-admin ysql_major_version_upgrade_initdb yb-admin rollback_ysql_major_version_upgrade Verify it shows something like the following errors: Error running ysql_major_version_upgrade_initdb: Not implemented (yb/master/catalog_manager.cc:3281): Unable to run initdb for ysql major version upgrade: Ysql major version upgrade is not supported Error running rollback_ysql_major_version_upgrade: Not implemented (yb/master/catalog_manager.cc:3294): Unable to roll back ysql major version upgrade: Ysql major version upgrade is not supported Note yb-admin doesn't have a command for IsYsqlMajorVersionUpgradeInitdbDone because it implements its own blocking on the pg15-upgrade branch, but the code is similar for the 3 RPCs. Reviewers: hsunder Reviewed By: hsunder Subscribers: vbansal, ybase, yql Differential Revision: https://phorge.dev.yugabyte.com/D36940
- Loading branch information
Showing
4 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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