You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Redelivery messages (replay queue reads) don't get read from cache even when they exist in cache, causing extra bookkeeper reads #23900
I searched in the issues and found nothing similar.
Read release policy
I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
Version
Since Pulsar 3.0.6, 3.2.4, 3.3.1, 4.0.0
Minimal reproduce step
Replay queue reads cache cache misses in all cases, even when the entry is already available in the cache.
One detail of the current broker cache implementation is that it is necessary to configure cacheEvictionByMarkDeletedPosition=true so that cached entries don't get evicted by the read position in the managed ledger. (There's a separate issue #16421 about by-passing the cache when cacheEvictionByMarkDeletedPosition=true isn't used.)
What did you expect to see?
Replay queue reads should get read from the cache.
What did you see instead?
No caching
Anything else?
This was previously reported as part of #23504. In addition, there's another issue that when reads are performed, the returned entries aren't added to the cache.
changed the title [-][Bug] Redelivery messages (replay queue reads) don't get cached and cause extra bookkeeper reads[/-][+][Bug] Redelivery messages (replay queue reads) don't get read from cache even when they exist in cache, causing extra bookkeeper reads[/+]on Jan 28, 2025
Activity
[-][Bug] Redelivery messages (replay queue reads) don't get cached and cause extra bookkeeper reads[/-][+][Bug] Redelivery messages (replay queue reads) don't get read from cache even when they exist in cache, causing extra bookkeeper reads[/+]