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
15.27k stars 445 forks source link

clean up resources after failed compaction #8362

Open skyzh opened 4 months ago

skyzh commented 4 months ago

https://neondb.slack.com/archives/C033RQ5SPDH/p1720712394852919?thread_ts=1720702469.555749&cid=C033RQ5SPDH

failed compaction will keep the resources on the disk, and it will cause bloated space problem

related PR: https://github.com/neondatabase/neon/pull/8359

jcsp commented 4 months ago

Chi plans to do this as part of GC compaction work

skyzh commented 2 months ago

implemented as part of https://github.com/neondatabase/neon/pull/9048 and https://github.com/neondatabase/neon/pull/8841, will integrate with the image creation path