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.75k stars 428 forks source link

gc-compaction: filter keys not in shard / not in keyspace #8920

Open skyzh opened 1 month ago

skyzh commented 1 month ago

So that we can reclaim spaces taken by https://github.com/neondatabase/neon/issues/8623 and collect more garbages.

skyzh commented 3 weeks ago

we still need to figure out a way to deal with keyspace changes in gc-compaction