-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit 8ed4703
DATAREDIS-803 - Retrieve DefaultRedisMap.entrySet() via HGETALL.
Redis has a limitation of 1024 * 1024 parameters]() for bulk operations.
To receive more than 1024 * 1024 - 1 entries with entrySet(), we can directly use the HGETALL command instead of first fetching the keys with HKEYS and then fetching the values with HMGET.
See also: https://github.com/antirez/redis/blob/4.0.9/src/networking.c#L1200
Original pull request: #326.1 parent cd34044 commit 8ed4703
File tree
2 files changed
+27
-13
lines changed- src
- main/java/org/springframework/data/redis/support/collections
- test/java/org/springframework/data/redis/support/collections
2 files changed
+27
-13
lines changedLines changed: 4 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 | + | ||
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
156 | 157 |
| |
157 | 158 |
| |
158 | 159 |
| |
159 | - | ||
160 | - | ||
161 | - | ||
162 | - | ||
163 | - | ||
164 | - | ||
165 | - | ||
166 | - | ||
167 | - | ||
168 | - | ||
169 | - | ||
170 | - | ||
171 | - | ||
160 | + | ||
161 | + | ||
162 | + | ||
172 | 163 |
| |
173 | 164 |
| |
174 | 165 |
| |
|
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | + | ||
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
66 | + | ||
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
| |||
396 | 398 |
| |
397 | 399 |
| |
398 | 400 |
| |
401 | + | ||
402 | + | ||
403 | + | ||
404 | + | ||
405 | + | ||
406 | + | ||
407 | + | ||
408 | + | ||
409 | + | ||
410 | + | ||
411 | + | ||
412 | + | ||
413 | + | ||
414 | + | ||
415 | + | ||
416 | + | ||
417 | + | ||
418 | + | ||
419 | + | ||
420 | + | ||
421 | + | ||
399 | 422 |
| |
400 | 423 |
| |
401 | 424 |
| |
|
0 commit comments