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

Execute multi-node requests using try_request. #919

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

nihohit
Copy link
Contributor

@nihohit nihohit commented Aug 3, 2023

rebased over #899 .

This means multi node operations now get error handling, and can trigger
MOVED, etc.

Additionally, func was removed from CmdArg::Cmd/Pipeline. This removes
the need to allocate a box on every request, and slightly reduces code
complexity.

This means multi node operations now get error handling, and can trigger
MOVED, etc.

Additionally, func was removed from CmdArg::Cmd/Pipeline. This removes
the need to allocate a box on every request, and slightly reduces code
complexity.
@nihohit
Copy link
Contributor Author

nihohit commented Sep 18, 2023

@jaymell rebased

Copy link
Contributor

@jaymell jaymell left a comment

Choose a reason for hiding this comment

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

Looks solid!

@nihohit nihohit merged commit 3b5a9f0 into redis-rs:main Oct 2, 2023
10 checks passed
@nihohit nihohit deleted the try-request-multi-node branch October 2, 2023 05:20
barshaul pushed a commit to barshaul/redis-rs that referenced this pull request Jul 11, 2024
* Update commandmanager to remove optional<route> argument

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Java: Add GET & SET commands

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Move IT tests to SharedCommandTests

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Spotless

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Add nonnull check to API

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Fix from merge

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Update handleRedisResponse

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Use @timeout annotation

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Remove extra @nonnull annotations

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Merge main

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Add NonNull

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Add back IT tests

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Remove extra tests

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Add DELME tests

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

* Minor: clean tests; throw exception

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>

---------

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
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.

None yet

2 participants