-
Notifications
You must be signed in to change notification settings - Fork 485
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
Disconnection of pageserver causes assertion failure in endpoint #5734
Comments
thank you @alexanderlaw! cc @save-buffer |
Here's the repro as a python test:
|
When pageserver cannot be reached, the
That also fails because the pagserver cannot be reached. The error during abort processing causes the assertion failure. In a release build with assertions disabled, it's a warning:
This could in theory happen with vanilla Postgres too, if there was a disk failure so that the calls to check if the just-created file exists fails. That's highly unlikely with a local disk though. This would be nice to fix somehow, but it's pretty low priority. |
This week:
|
This week
|
Steps to reproduce
Result
Logs, links
.neon/endpoints/main/compute.log contains:
With backtrace_functions = 'pageserver_connect' I see the following call stacks:
For the first error: ... index_build -> index_update_stats -> RelationGetNumberOfBlocksInFork -> smgrnblocks -> neon_nblocks -> page_server_request -> pageserver_send -> pageserver_connect.
For the second error: ... AbortCurrentTransaction -> AbortTransaction -> smgrDoPendingDeletes -> smgrdounlinkall -> DropRelationsAllBuffers -> smgrexists -> neon_exists -> page_server_request -> pageserver_send -> pageserver_connect.
The text was updated successfully, but these errors were encountered: