Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle invalidate messages from topic __redis__:invalidate #3326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chisenberg
Copy link

@chisenberg chisenberg commented Mar 27, 2025

This pull request handles the "invalidate" messages sent by redis when enabling CLIENT TRACKING and subscribing to topic "__redis__:invalidate" topic.
The invalidated keys are sent on the PayloadSlice field of the redis.Message struct.

@ndyakov
Copy link
Collaborator

ndyakov commented Mar 28, 2025

@chisenberg thank you for the contribution. Would you please add tests for the code you are introducing?

@ndyakov ndyakov self-requested a review March 28, 2025 20:27
Copy link
Collaborator

@ndyakov ndyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chisenberg are you using the client for a client side caching ? We don't have it inside the client for now, but would like to add it in the near future.

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.

2 participants