-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Introduce request & response policy support#4411
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
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
0ff8317
Introduce keyless command concept
uglide e22dd9a
Introduce request/response policies to CommandFlagsRegistry and Stati…
uglide 2490574
Update CommandFlagsRegistryGenerator to support request/response poli…
uglide 52715dc
Drop broadcastCommand and executeKeylessCommand from the CommandExecu…
uglide 2358bde
Add isKeyless() to CommandArguments
uglide 2d3f887
Add support for MULTI_SHARD commands
uglide 473c602
Get rid of ClusterCommandArguments
uglide 7d686cf
Fix ClusterReplyAggregator
uglide 9930bd8
Expose addHashSlotKey method for special cases like KEYS command
uglide 48090bd
Allow manual overrides in CommandFlagsRegistryGenerator
uglide 3c7f46e
Fix tests
uglide d081eaa
Add missing exception class
uglide 5872e66
Clean up after dropping FT.Aggregate iterator
uglide 62becdf
Fix formatting
uglide 120ad89
Add missing ClusterAggregationException
uglide 0989e54
Fix unit tests
uglide 07b33d1
Fix bugs with hash slots
uglide f95fa8d
Add support for arrays in AND&OR aggregations
uglide 32345e0
Add support for DBSIZE and add more tests
uglide 157c0cf
Optimize hash slot calculation and get rid of processKey() methods
uglide d39a4de
Deprecate sendCommand() and sendBlockingCommand() as unsafe in cluste…
uglide bc5e40f
Update tests to reflect the changes
uglide da632c4
Resolve merge problems
uglide fec9bc9
Address feedback for CommandFlagsRegistryGenerator
uglide 37a4f23
Reformat
uglide b7392d1
Add missing import to CommandFlagsRegistryGenerator
uglide d1127f1
Make executeKeylessCommand private
uglide 1399091
Extract sendCommand methods deprecation
uglide 2b61f3b
Improve CommandFlagsRegistryGenerator
uglide f2d246c
Preserve the initial order when executing multi-shard commands
uglide 329893a
Add Connection resolvers
uglide 26d0a22
Refactor broadcastCommand and executeMultiShardCommand to use common …
uglide 6c2da5e
Reformat
uglide 0d8d8d4
Update tests
uglide 6284796
Reformat
uglide bf3a503
Fix bug in CommandArguments
uglide 953ee17
Fix bug with SingleConnectionResolver
uglide 7a63f96
Fix bug with roundRobinResolver
uglide a147c37
Take into account keyPreProcessor in groupArgumentsByKeyValueHashSlot…
uglide 6bed397
Replace outdated test in ClusterBinaryValuesCommandsTest
uglide 5f783bf
Merge branch 'master' into im/request-response-policy-support
uglide b15c170
Throw redirection exceptions immediately when followRedirections is f…
uglide 3c918a2
Add support for JedisByteHashMap and JedisByteMap in default aggregation
uglide cdd4409
Reformat
uglide 8fca55d
Mutate exising collection in aggregateDefault()
uglide 519739c
Address review suggestions and clean up code
uglide 80f3ca3
Make ClusterReplyAggregator pp
uglide c82daa5
Fix tests
uglide cc80f3b
Merge branch 'master' into im/request-response-policy-support
uglide e5b6bfb
Fix SinceRedisVersion for clusterSlotStatsAggregation test
uglide 339d81f
Merge remote-tracking branch 'origin/im/request-response-policy-suppo…
uglide 594fc3c
Fix aggregation for WAITAOF command and improve exception message
uglide a17d4f2
Merge branch 'master' into im/request-response-policy-support
ggivo 2b9a22b
fix ClientAuthRedisClusterClientIT.java:[43,13] cannot find symbol
ggivo 27c37ad
getKeys now returns unmodifiable list
ggivo a05f1bc
CommnadArguments.addHashSlotKey - package private & typesafe
ggivo 23f7def
[req/resp] Reject commands with ALL_NODES,ALL_SHARDS,MULTI_SHARD requ…
ggivo 3d1da01
[req/resp] Fix aggregating unmodifiable collection failiure (#4465)
ggivo af1899f
Merge branch 'master' into im/request-response-policy-support
ggivo 57816a4
override INFO & FUNCITON_STATS request policy for cluster to DEFAULT
ggivo 3d286f8
formating
ggivo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ on: | |
| branches: | ||
| - master | ||
| - '[0-9].*' | ||
| - 'topic/**' | ||
| pull_request: | ||
| branches: | ||
| - master | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,7 @@ on: | |
| - master | ||
| - '[0-9].*' | ||
| - 'feature/**' | ||
| - 'topic/**' | ||
| pull_request: | ||
| branches: | ||
| - master | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
src/main/java/redis/clients/jedis/ClusterCommandArguments.java
This file was deleted.
Oops, something went wrong.
588 changes: 545 additions & 43 deletions
588
src/main/java/redis/clients/jedis/ClusterCommandObjects.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.