Movatterモバイル変換


[0]ホーム

URL:


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

Commit2a77355

Browse files
committed
Change the retry-loop in standby mode to also try restoring files from
pg_xlog directory. This is essential for replaying WAL records thatwere streamed from the master, after a standby server restart.If a corrupt record is seen in a file restored from the archive orstreamed from the master, log it as a WARNING and keep retrying. If thecorruption is permanent, and not just a glitch in the whatever copies thefiles to the archive or a network error not caught by CRC checks in TCPfor example, we will keep retrying and logging the WARNING indefinitely.But that's better than shutting down completely, the standby is stilluseful for running read-only queries. In PITR the recovery ends at such acorrupt record, which is a bit questionable, but that's the behavior wehad in previous releases and we don't feel like chaning it now. It doesmake sense for tools like pg_standby.
1 parentfeb5087 commit2a77355

File tree

1 file changed

+231
-113
lines changed
  • src/backend/access/transam

1 file changed

+231
-113
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp