Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PITR: clear data directory for replicas before restore if patroni_cre…
…ate_replica_method does not contain pgbackrest in this case, if another method is defined (e.q. "basebackup") then bootstrap the replica from the wizard will be executed using pg_basebackup. Otherwise, in the replica will be left with data that does not match the data on the master that was restored from the backup.
- Loading branch information
9313991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"master", not "wizard", here is a typo in the commit description.
9313991
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed:
Here the replicas have a different TL because the data remained the same and the master was restored from a backup.