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 ssubscribe command #178

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

VyacheslavVanin
Copy link

@VyacheslavVanin VyacheslavVanin commented Mar 10, 2025

Support ssubscribe command

Relates: #177

Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
@bjosv
Copy link
Collaborator

bjosv commented Mar 11, 2025

Thanks!
It would be great if we could add a test, but I'm not sure if we have any slots assigned when running client_test.c.. test_pubsub_handling_resp3 could be a good starting point in that case.

In comparison to subscribe and psubscribe the ssubscribe command can return -MOVED. Do we just return this response to the user or how is it handled?

Signed-off-by: Vyacheslav Vanin <[email protected]>
@VyacheslavVanin
Copy link
Author

Yes, you are right. I wanted that MOVED just be returned to users, but seems like a callback is not called in case of error.
I will try to fix this

Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
Signed-off-by: Vyacheslav Vanin <[email protected]>
@VyacheslavVanin
Copy link
Author

I turned off sharded_pubsub_test in ci-workflows that don’t run clusters

Signed-off-by: Vyacheslav Vanin <[email protected]>
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