Skip to content

Commit

Permalink
Remove recovery options after finishing PITR
Browse files Browse the repository at this point in the history
  • Loading branch information
pyhalov committed Sep 20, 2020
1 parent 8b42a97 commit 4d4cfca
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 4d4cfca

Please sign in to comment.