Skip to content

Commit

Permalink
added withoud metadata to gp (#1708)
Browse files Browse the repository at this point in the history
  • Loading branch information
debebantur committed May 14, 2024
1 parent 99376a9 commit 01fbb71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cmd/gp/backup_push_segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ var (
verifyPageChecksums := false
storeAllCorruptBlocks := false
tarBallComposerType := postgres.RegularComposer
withoutFilesMetadata := false

arguments := postgres.NewBackupArguments(uploader, dataDirectory, utility.BaseBackupPath,
permanent, verifyPageChecksums,
fullBackup, storeAllCorruptBlocks,
tarBallComposerType, greenplum.NewSegDeltaBackupConfigurator(deltaBaseSelector),
userData, withoutFilesMetadata)
userData, viper.GetBool(conf.WithoutFilesMetadataSetting))

backupHandler, err := greenplum.NewSegBackupHandler(arguments)
tracelog.ErrorLogger.FatalOnError(err)
Expand Down
3 changes: 2 additions & 1 deletion docker/gp_tests/scripts/configs/full_backup_test_config.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"WALE_S3_PREFIX": "s3://gpfullbucket",
"WALG_DELTA_MAX_STEPS": "0"
"WALG_DELTA_MAX_STEPS": "0",
"WALG_WITHOUT_FILES_METADATA": "True"

0 comments on commit 01fbb71

Please sign in to comment.