Skip to content

Commit

Permalink
Remove recovery options after finishing PITR recoovery
Browse files Browse the repository at this point in the history
Fixes #798
  • Loading branch information
Adm.rsft committed Sep 20, 2020
1 parent 8b42a97 commit e83a4c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/keeper/cmd/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,7 @@ func (p *PostgresKeeper) postgresKeeperSM(pctx context.Context) {
return
}
log.Infof("recovery completed")
pgm.SetRecoveryOptions(nil)
}
if err = pgm.WaitReady(cd.Cluster.DefSpec().SyncTimeout.Duration); err != nil {
log.Errorw("timeout waiting for instance to be ready", zap.Error(err))
Expand Down

0 comments on commit e83a4c6

Please sign in to comment.