-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate pg_rewind works in HA tests
Stolon can recover from a failed pg_rewind by falling-back to pg_basebackup. This decision happens within a black-box as far as the integration tests are concerned: after resync, it's not possible to detect whether a rewind or basebackup got the job done. This change adds validation that whenever pg_rewind is enabled, it was successfully used to resync the databases. We expose the keeper logs to give visibility into what the keeper decided to do, and check against the log output for the rewind logging we expect.
- Loading branch information
1 parent
6003d65
commit 54f0eb3
Showing
2 changed files
with
50 additions
and
7 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