Commit e674388
authored
FIX: resolve Valkey 9 compatibility issues across all clients (valkey-io#4632)
* FIX: resolve Valkey 9 compatibility issues across all clients
- Update LOLWUT tests to support both Redis and Valkey version formats using regex patterns
- Fix hash field expiration commands in Java Jedis layer with proper FIELDS keyword and count
- Maintain backward compatibility while supporting Valkey 9 server responses
- Update test assertions in Go, Java, Node.js, and Python clients
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
* changelog update
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
* fix java and python tests
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
* java: Fix hash field expiration commands and Valkey 9 compatibility
- Add missing FIELDS keyword and numfields count to all hash field expiration commands in Jedis compatibility layer
- Update HGETDEL test version requirements to Valkey 9.0.0+
- Fix HPERSIST test expectation to return -1 for fields without expiration
- Update objectEncoding tests to accept both 'embstr' and 'raw' encodings for Valkey 9.0.0+ compatibility
- Improve test version checks and comments for hash field expiration command availability
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
* updated the changelog
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
* removed regex and simplified lolwut check
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
* simplified test on battestutilities.java
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
* Revert "simplified test on battestutilities.java"
This reverts commit 64f53dd.
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
---------
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>1 parent a4d38b1 commit e674388
File tree
16 files changed
+351
-74
lines changed- .github/json_matrices
- go/integTest
- java
- client/src/main/java/redis/clients/jedis
- integTest/src/test/java
- compatibility/jedis
- glide
- cluster
- standalone
- node/tests
- python/tests
- async_tests
- sync_tests
16 files changed
+351
-74
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
1151 | | - | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1152 | 1156 | | |
1153 | 1157 | | |
1154 | 1158 | | |
| |||
1167 | 1171 | | |
1168 | 1172 | | |
1169 | 1173 | | |
1170 | | - | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1171 | 1179 | | |
1172 | 1180 | | |
1173 | 1181 | | |
| |||
1186 | 1194 | | |
1187 | 1195 | | |
1188 | 1196 | | |
1189 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1190 | 1202 | | |
1191 | 1203 | | |
1192 | 1204 | | |
| |||
1203 | 1215 | | |
1204 | 1216 | | |
1205 | 1217 | | |
1206 | | - | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1207 | 1223 | | |
1208 | 1224 | | |
1209 | 1225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
786 | | - | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
787 | 791 | | |
788 | 792 | | |
789 | 793 | | |
790 | 794 | | |
791 | 795 | | |
792 | 796 | | |
793 | 797 | | |
794 | | - | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
795 | 803 | | |
796 | 804 | | |
797 | 805 | | |
798 | 806 | | |
799 | 807 | | |
800 | 808 | | |
801 | 809 | | |
802 | | - | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
803 | 815 | | |
804 | 816 | | |
805 | 817 | | |
| |||
0 commit comments