Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions internal/cnpgi/common/wal.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,11 @@ func (w WALServiceImplementation) restoreFromBarmanObjectStore(
// is the one that PostgreSQL has requested to restore.
// The failure has already been logged in walRestorer.RestoreList method
if walStatus[0].Err != nil {
if errors.Is(walStatus[0].Err, barmanRestorer.ErrConnectivity) {
// Only available from Barman 3.20.0
contextLogger.Info("transient connectivity issue while restoring WAL, will retry",
"walName", walStatus[0].WalName, "error", walStatus[0].Err)
}
return classifyWALRestoreError(walStatus[0].WalName, walStatus[0].Err)
}

Expand Down
Loading