Skip to content

[Bug] Cold queue increases infinitely for some partitions and cache sizes #365

@rafal-mz

Description

@rafal-mz

For some specific capacity partitions and cache sizes cold qeuue becomes unbounded an increases infinitely.

It can be observed by test WhenKeysAreContinuouslyRequestedInTheOrderTheyAreAddedCountIsBounded with WarmFavourPartition with Warm ratio 0.6 and cache sizes 64, 128. Its for ConcurrentLru implementation.

The fix is not to allow to cycle back from cold queue to warm if warm is full.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions