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

Don't initiate new connections during a cluster client disconnect (async API) #73

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

bjosv
Copy link
Collaborator

@bjosv bjosv commented Aug 19, 2024

  • No slot map updates during a cluster client disconnect.
  • Don't follow redirects when a cluster client disconnects.
  • Don't accept new commands when a cluster client disconnects.

This is a corresponding change to Nordix/hiredis-cluster#225 .

@bjosv bjosv requested a review from zuiderkwast August 20, 2024 06:54
Copy link
Collaborator

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

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

LGTM

Among the untouched lines, I noticed the below version definitions. We don't need those, do we? Valkey cluster and valkey is just one project with one version?

#define LIBVALKEYCLUSTER_MAJOR 0
#define LIBVALKEYCLUSTER_MINOR 14
#define LIBVALKEYCLUSTER_PATCH 0
#define LIBVALKEYCLUSTER_SONAME 0.14

@bjosv
Copy link
Collaborator Author

bjosv commented Aug 21, 2024

Among the untouched lines, I noticed the below version definitions. We don't need those, do we?

Ah, great finding. Will remove.

@bjosv bjosv merged commit 1afa9a6 into valkey-io:main Aug 23, 2024
41 checks passed
@bjosv bjosv deleted the client-disconnect branch August 23, 2024 07:13
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