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

fix: fix issue of cases where prevCondition is a subscriber #1900

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

Conversation

prathik
Copy link

@prathik prathik commented Jul 5, 2024

The current logic does an or operation between condition and prevCondition.

In condition the value of subscriber could be false and in prevCondition it could be a subscription set.

The change addresses this by picking the first non false subscriber.

Added some debug logs to show the case (in the image).

Screenshot 2024-07-05 at 11 40 55 PM

…nt condition is not

The current logic does an or operation between condition and prevCondition.

In condition the value of subscriber could be false and in prevCondition it could be a subscription set.

The change addresses this by picking the first non false subscriber.
@prathik
Copy link
Author

prathik commented Jul 5, 2024

@leibale @luin any advice on this?

@lukas-becker0
Copy link

@prathik
luin is no longer the maintainer AFAIK and the redis team seems to focus on https://github.com/redis/node-redis,
you could move this PR to https://github.com/valkey-io/iovalkey which is the most promising fork IMO.

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