-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent Postgres versions PANIC due to missing fsync functionality #3863
Comments
No |
yeah had troubles getting an strace due to the multiple process spawned. sorry about that... |
Appears to be this code now fires. Haven't tried, mind. |
I've got the same problem. What should I do is back to postgresql9.3 according to this? |
This made me understood |
"data_sync_retry = true" appended to the end of /etc/postgresql/10/main/postgresql.conf fixed it for me. |
In case anyone is here looking for an easy fix, setting fsync to off in postgresql.conf works also. |
The screen is flooded with |
Please fill out the below information:
Your Windows build number: 10.0.18334.1
What you're doing and what's happening: postgresql recently changed their fsync handling, and since then, it shuts down in WSL after a few minutes - i.e. once it tries to flush files to the disk. https://www.postgresql.org/docs/11/release-11-2.html#id-1.11.6.5.5
What's wrong / what should be happening instead:
a workaround is to revert to previous version's behavior. this will result in warnings instead of a PANIC:
The text was updated successfully, but these errors were encountered: