Skip to content

Conversation

@mp911de
Copy link
Member

@mp911de mp911de commented Oct 22, 2025

clear and evict methods now use asynchronous and non-blocking removal of keys when using the Lettuce Redis driver. RedisCache also supports evictIfPresent and invalidate to remove cache keys immediately which are blocking methods.

Closes #3236

clear and evict methods now use asynchronous and non-blocking removal of keys when using the Lettuce Redis driver. RedisCache also supports evictIfPresent to remove cache keys immediately which is a blocking method.
Convert internal types to records.
Also, allow configuration of immediate writes to enforce stronger consistency and visibility of cache writes.
christophstrobl pushed a commit that referenced this pull request Oct 28, 2025
clear, evict and put methods now use asynchronous and non-blocking removal of keys when using the Lettuce Redis driver. RedisCache also supports evictIfPresent to remove cache keys immediately which is a blocking method.

Introduce configuration API for RedisCacheWriter.
Also, allow configuration of immediate writes to enforce stronger consistency and visibility of cache writes.

Closes: #3236
Original Pull Request: #3243
christophstrobl pushed a commit that referenced this pull request Oct 28, 2025
Convert internal types to records and fix a typo.

Original Pull Request: #3243
christophstrobl added a commit that referenced this pull request Oct 28, 2025
Also undo change type to record which is leaking the underlying Iterator and add more tests.

Original Pull Request: #3243
@christophstrobl christophstrobl deleted the issue/3236 branch October 28, 2025 09:48
mp911de added a commit that referenced this pull request Oct 29, 2025
Ensure completion of all conditions to avoid races in subsequent assertions.

See: #3236
Original Pull Request: #3243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RedisCache does not comply with non-blocking semantics for evict and clear methods

3 participants