Files
neon/libs/utils/src
Erik Grinaker 8c4e94107d pageserver: notify compaction loop at threshold (#10740)
## Problem

The compaction loop currently runs periodically, which can cause it to
wait for up to 20 seconds before starting L0 compaction by default.

Also, when we later separate the semaphores for L0 compaction and image
compaction, we want to give up waiting for the image compaction
semaphore if L0 compaction is needed on any timeline.

Touches #10694.

## Summary of changes

Notify the compaction loop when an L0 flush (on any timeline) exceeds
`compaction_threshold`.

Also do some opportunistic cleanups in the area.
2025-02-10 17:48:09 +00:00
..
2022-08-16 18:49:22 +03:00
2024-09-16 18:45:19 +00:00
2024-10-18 10:27:50 +01:00
2024-01-23 11:17:15 +00:00
2024-09-19 11:57:10 +03:00