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

Modules: RedisModuleCallback not handling blocked clients #6668

Open
Dudemullet opened this issue Dec 15, 2019 · 1 comment
Open

Modules: RedisModuleCallback not handling blocked clients #6668

Dudemullet opened this issue Dec 15, 2019 · 1 comment

Comments

@Dudemullet
Copy link

Problem

Lets say we have a registered callback on keyspace events via a the modules api. This callback adds messages to list whenever a key expires.

Now on the client side we run the following commands

SET myKey value EX 10
> OK
BLPOP list 0

Expected

The expectation is that when myKey expires, the RedisModuleCallback will add a message to list. The blocked client should pop that message from list.

Ocurring

The client never gets handled and remains blocked, even though a message has been added to list

@Dudemullet
Copy link
Author

This behavior is still present in branch 6.0

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

No branches or pull requests

1 participant