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
14.78k stars 430 forks source link

delta layer file writer errors leak the layer temp file on disk #6623

Closed problame closed 8 months ago

problame commented 8 months ago

Motivation

https://neondb.slack.com/archives/C033RQ5SPDH/p1707083892302179

DoD

TBD

Impl

### Tasks
- [ ] https://github.com/neondatabase/neon/pull/6612
- [ ] https://github.com/neondatabase/neon/pull/6625
jcsp commented 8 months ago

I think this can close: the action to cover the other cases where we potentially leak __temp files is https://github.com/neondatabase/neon/issues/6627