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.67k stars 385 forks source link

Make WAL truncation atomic #958

Open arssher opened 2 years ago

arssher commented 2 years ago

See https://github.com/zenithdb/zenith/pull/847#discussion_r750131730

petuhovskiy commented 1 month ago

I think we have truncate_wal() implementation that deletes segments in descending order for a long time. This issue can be closed.