neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
13.18k stars 367 forks source link

proxy: report blame for passthrough disconnect io errors #8170

Closed conradludgate closed 2 days ago

conradludgate commented 2 days ago

Problem

Hard to debug the disconnection reason currently.

Summary of changes

Keep track of error-direction, and therefore error source (client vs compute) during passthrough.

Checklist before requesting a review

Checklist before merging

github-actions[bot] commented 2 days ago

2910 tests run: 2793 passed, 0 failed, 117 skipped (full report)


Code coverage* (full report)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
d0feeceb9d5ee9c8e73bee7d4ffcced539793178 at 2024-06-26T15:25:17.551Z :recycle: