forked from greenplum-db/gpbackup-archive
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADBDEV-2901 Fix order of restoring metadata (#23)
Initially, gpbackup created consistent copies of databases, ordering all object by oid, which created a correct sequence of objects. But in ADBDEV-1973 (#9) the backup order was changed and the objects started to be sorted by their size, which broke the logic of backup process. This patch restores ordering by oid, but doesn't break order based on relation size, because gpbackup stores two different lists of metadata and data objects. This patch reorders metadata only, so all objects can be correclty restored, but doesn't alter data objects order, so the data can be recovered in any desired way.
- Loading branch information
Showing
4 changed files
with
46 additions
and
1 deletion.
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