-
Notifications
You must be signed in to change notification settings - Fork 510
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
could not send WAL redo request: "SendError(..)" #416
Comments
PR #410 removes this code, so maybe it isn't worth fixing |
I don't think PR #410 will fix this, whatever the problem is. ISTM that the WAL redo process returned an error or died unexpectedly, and that failure was propagated to the thread that requested the WAL redo like this. With PR #410, I presume the same failure in WAL redo would have happened, the stack trace would just look different. |
The pageserver.log from the failed run has this, before the above panic:
Do we have a race condition, where one thread launches the WAL redo thread and then creates the tenant-directory, and meanwhile the WAL redo thread starts initdb which will also try to create the directory if it doesn't already exist? If that's the problem, then PR #410 might actually fix this by accident. |
Haven't seen this for a while, so I guess this has been fixed. Closing. |
CI tests caught following thing: https://app.circleci.com/pipelines/github/zenithdb/zenith/1115/workflows/f7a864a0-631c-4463-abbd-d3f47cf6f96d/jobs/6092
The text was updated successfully, but these errors were encountered: