From 1fa024d63cb42752cd91abe717dbe990359be7c7 Mon Sep 17 00:00:00 2001 From: "Adm.rsft" Date: Sun, 20 Sep 2020 13:00:05 +0300 Subject: [PATCH] Remove recoverey options after finishing PITR recoovery Fixes #798 --- cmd/keeper/cmd/keeper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/keeper/cmd/keeper.go b/cmd/keeper/cmd/keeper.go index b5f815018..fe11e8995 100644 --- a/cmd/keeper/cmd/keeper.go +++ b/cmd/keeper/cmd/keeper.go @@ -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{