Skip to content

Commit

Permalink
Remove recoverey options after finishing PITR recoovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Adm.rsft committed Sep 20, 2020
1 parent 8b42a97 commit 1fa024d
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 @@ -1259,6 +1259,7 @@ func (p *PostgresKeeper) postgresKeeperSM(pctx context.Context) {
log.Errorw("failed to stop pg instance", zap.Error(err))
return
}
pgm.SetRecoveryOptions(nil)
case cluster.DBInitModeResync:
log.Infow("resyncing the database cluster")
ndbls := &DBLocalState{
Expand Down

0 comments on commit 1fa024d

Please sign in to comment.