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.28k stars 408 forks source link

clean up resources after failed compaction #8362

Open skyzh opened 1 month ago

skyzh commented 1 month 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 1 month ago

Chi plans to do this as part of GC compaction work