-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Summary [sync-with-upstream]
This issue outlines the necessary work to update our gpbackup tool. The primary goals are to synchronize our codebase with the latest upstream gpbackup, resolve critical compatibility issues with Cloudberry, which is based on PostgreSQL 14, and ensure the tool's stability by passing all integration and end-to-end tests. This effort is crucial for meeting customer requirements, particularly for backup from Greenplum and restore to Cloudberry.
Key Problems
- Database Version Incompatibility: The current
mainbranch is based on legacygpbackupcode, which only supports up to Greenplum 7 (based on PostgreSQL 12). This creates compatibility issues with Cloudberry, which is based on PostgreSQL 14, due to differences in their underlying system tables. - Incorrect Cloudberry Handling: The
mainbranch improperly treats Cloudberry as a standard Greenplum 7 instance, failing to account for its unique characteristics. - Unsupported Cross-Platform Restore: The
mainbranch does not support the customer requirement of backing up a Greenplum database and successfully restoring it to a Cloudberry instance. - Failing Test Suites: The current
mainbranch fails the fullintegrationsuite (552 tests) and theend-to-endsuite (189 tests), indicating underlying instability. - Reported Bugs: Internal documentation has noted several bugs affecting backup and restore operations in customer environments.
Actions Completed
To address the issues above, we have completed the following steps in this phase:
- Synced with Upstream: We have successfully updated our codebase to the latest version from the official upstream repository greenplum-db/gpbackup-archive.
- Achieved Full Test Coverage: In coordination with the Cloudberry 2.0 release, we have fixed all related bugs and successfully passed all
integrationandend-to-endtests. This process was critical for discovering and fixing issues caused by system catalog differences between PostgreSQL 12 and 14, as well as addressing incompatibilities between Greenplum 7 and Cloudberry. - Verified Bug Fixes: The bugs identified in our internal documents are confirmed to be resolved in the latest branch.
Next Steps
- Promote Branch and Release New Version: Rename the
sync-with-upstreambranch tomain. After that, publish a new release (version1.30.0or higher) to meet the version requirement for the end-to-end restore tests. - Enable CI/CD: Implement a CI/CD pipeline to automate testing and deployment, ensuring the long-term stability and quality of the project.
tuhaihe and ostinru
Metadata
Metadata
Assignees
Labels
No labels