mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
Before this patch, `drop_buffers_for_immutable` would scan the entire `slots` to proactively evict pages. Some background on `drop_buffers_for_immutable`: it's really just a nice courtesy to give back the slots that it used. Why is it just nice-to-have? We're dropping the EphemeralFile, so, these slots are never going to get accessed again. The `find_victim` will eventually evict them.