Skip to content

Commit 6770bc2

Browse files
author
Konstantin Knizhnik
committed
Do not skip recovery in case of replica promotion
1 parent b6eece3 commit 6770bc2

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8150,7 +8150,7 @@ StartupXLOG(void)
81508150
* In a normal crash recovery, we can just extend the timeline we were in.
81518151
*/
81528152
PrevTimeLineID = ThisTimeLineID;
8153-
if (ArchiveRecoveryRequested && !ZenithRecoveryRequested)
8153+
if (ArchiveRecoveryRequested)
81548154
{
81558155
char reason[200];
81568156
char recoveryPath[MAXPGPATH];

0 commit comments

Comments
 (0)