Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Fails with pg_xlog/xlogtemp files #45

Closed
man-brain opened this issue Jun 6, 2015 · 1 comment
Closed

Fails with pg_xlog/xlogtemp files #45

man-brain opened this issue Jun 6, 2015 · 1 comment

Comments

@man-brain
Copy link

It happens quite rare but it happens:

error reading xlog record: record with zero length at 1/D5000090
unexpected result while fetching remote files: ERROR:  could not open file "pg_xlog/xlogtemp.23056" for reading: No such file or directory

The servers diverged at WAL position 1/D4A081B0 on timeline 174.
Rewinding from Last common checkpoint at 1/D30A5650 on timeline 174

It seems that process_remote_file does not skip such files and I don't know if it safe to do.

Since I've caught it with 9.4 I write about it here. But it seems that version in master also does not handle this situation.

@michaelpq
Copy link
Contributor

Indeed, it can happen. e11d9a0 should fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants