Skip to content

Commit

Permalink
Add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
whitehawk committed Jun 27, 2024
1 parent f6c13e6 commit bac9ce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions restore/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ func restoreDataFromTimestamp(fpInfo filepath.FilePathInfo, dataEntries []toc.Co
return fmt.Sprintf("! ls %s", helperErrorFileName)
})
if remoteOutput.NumErrors != 0 {
gplog.Error("gpbackup_helper failed to start on some segments")
// the delay below is to give the restore helper a chance to close all pipes, if it can...
time.Sleep(5 * time.Second)
cancel()
Expand Down

0 comments on commit bac9ce9

Please sign in to comment.