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

Add redisClustervCommandToNode and redisClustervAppendCommandToNode to library API #231

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

unikmhz
Copy link
Contributor

@unikmhz unikmhz commented Aug 4, 2024

Closes #230.

I did not add new tests as original redisClusterv* APIs are not tested directly, and test coverage should not change. Please comment in this PR if separate specialized tests are required.

The only disadvantage of this PR that I see, is that va_start() is called in more cases. It can add some (albeit minuscule) overhead, but all such cases end in an error anyway.

@unikmhz unikmhz changed the title Upstream issue 230 Add redisClustervCommandToNode and redisClustervAppendCommandToNode to library API Aug 4, 2024
@bjosv bjosv merged commit ebee436 into Nordix:master Aug 5, 2024
34 checks passed
@bjosv
Copy link
Collaborator

bjosv commented Aug 5, 2024

Looks good, thanks!

@unikmhz unikmhz deleted the upstream-issue-230 branch August 6, 2024 06:27
bjosv added a commit to bjosv/libvalkey that referenced this pull request Aug 18, 2024
- valkeyClustervCommandToNode()
- valkeyClustervAppendCommandToNode()

From Nordix/hiredis-cluster#231
Co-authored-by: Alex Unigovsky <[email protected]>
bjosv added a commit to bjosv/libvalkey that referenced this pull request Aug 19, 2024
- valkeyClustervCommandToNode()
- valkeyClustervAppendCommandToNode()

From Nordix/hiredis-cluster#231
Co-authored-by: Alex Unigovsky <[email protected]>

Signed-off-by: Björn Svensson <[email protected]>
bjosv added a commit to valkey-io/libvalkey that referenced this pull request Aug 19, 2024
- valkeyClustervCommandToNode()
- valkeyClustervAppendCommandToNode()

From Nordix/hiredis-cluster#231
Co-authored-by: Alex Unigovsky <[email protected]>

Signed-off-by: Björn Svensson <[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.

Cannot pass command with va_list to specific node
2 participants