Skip to content

Test that eviction stops at the low-water mark - #12

Closed
RhysSullivan wants to merge 1 commit into
fix/size-bound-hysteresisfrom
test/size-bound-hysteresis
Closed

RhysSullivan wants to merge 1 commit into
fix/size-bound-hysteresisfrom
test/size-bound-hysteresis

Conversation

@RhysSullivan

Copy link
Copy Markdown

Tests the low-water mark: with only the ingest path holding a 4 MiB bound and a 50% low-water mark, 120 exports cause at most a quarter as many eviction passes, and the store stays within its bound. The old behaviour ran about one pass per export once full.

@RhysSullivan

Copy link
Copy Markdown
Author

Superseded by #14 and #15, which landed this change rebased onto main with the drain state persisted across collector restarts.

Sent from my Claude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant