Commit 7a68df8
authored
Use List<KeyValue> to read RESP3 Map reply (#3456)
When implementing RESP3, I converted the Redis Map reply (map{k1->v1, k2->v2, ...}) to simple flat array (list{k1, v1, k2, v2, ...}).
In this PR, I have converted the Map reply to array of KeyValues (list{ kv{k1, v1}, kv{k2, v2}, ...}).
As a by-product of this PR, some commands were found where the return can/should be a Map instead of a List.
---
* Use List<KeyValue> to read RESP3 Map reply
* module replies
* fix lcs
* fix xinfo
* fix moduleList
* fix timeoutConnection
* fix aclLog
already fixed
* edit
* fix moduleList
* fix encodeCompleteResponse
* Fix tsInfoDebug after timeseries update
* remove commented code
* docs and test edit1 parent 869dc0b commit 7a68df8
File tree
28 files changed
+756
-441
lines changed- docs
- src
- main/java/redis/clients/jedis
- commands
- resps
- timeseries
- util
- test/java/redis/clients/jedis
- commands
- jedis
- unified
28 files changed
+756
-441
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
0 commit comments