Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 98bf221

Browse files
committed
Merge branch 'nik-3-5-fix-recovery-conf-filename' into 'master'
fix: use built recovery config instead of original one See merge request postgres-ai/database-lab!929
2 parents c7aca2c + 2711f2b commit 98bf221

File tree

1 file changed

+1
-1
lines changed
  • engine/internal/retrieval/engine/postgres/snapshot

1 file changed

+1
-1
lines changed

‎engine/internal/retrieval/engine/postgres/snapshot/physical.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ func (p *PhysicalInitial) promoteInstance(ctx context.Context, clonePath string,
568568
if syState.Err != nil {
569569
recoveryConfig = buildRecoveryConfig(recoveryFileConfig, p.options.Promotion.Recovery)
570570

571-
if err := cfgManager.ApplyRecovery(recoveryFileConfig); err != nil {
571+
if err := cfgManager.ApplyRecovery(recoveryConfig); err != nil {
572572
return errors.Wrap(err, "failed to apply recovery configuration")
573573
}
574574
} else if err := cfgManager.RemoveRecoveryConfig(); err != nil {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /