Skip to content

Commit c5619f2

Browse files
author
Adm.rsft
committed
Remove recoverey options after finishing PITR recoovery
Fixes #798
1 parent 8b42a97 commit c5619f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/keeper/cmd/keeper.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,7 @@ func (p *PostgresKeeper) postgresKeeperSM(pctx context.Context) {
12361236
return
12371237
}
12381238
log.Infof("recovery completed")
1239+
pgm.SetRecoveryOptions(nil)
12391240
}
12401241
if err = pgm.WaitReady(cd.Cluster.DefSpec().SyncTimeout.Duration); err != nil {
12411242
log.Errorw("timeout waiting for instance to be ready", zap.Error(err))

0 commit comments

Comments
 (0)