-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit c87d772
Add missing RedisCommand enum entries for ZSet WithScores methods.
The rangeWithScores family of methods (zRangeWithScores, zRangeByScoreWithScores, zRevRangeWithScores, zRevRangeByScoreWithScores) were missing from the RedisCommand enumeration, causing ConnectionSplittingInterceptor to resolve them as UNKNOWN commands.
This resulted in read-only methods being incorrectly queued in MULTI/EXEC blocks instead of executing immediately on separate connections, causing them to return null in transactional contexts.
This commit adds the ZRANGEWITHSCORES, ZRANGEBYSCOREWITHSCORES, ZREVRANGEWITHSCORES, ZREVRANGEBYSCOREWITHSCORES enum entries to RedisCommand.java.
The fix ensures these read-only methods are properly recognized and execute immediately in transactional contexts.
Original Pull Request: #3225
Fixes: #3187
Signed-off-by: LeeHyungGeol <rjf1138@naver.com>
(cherry picked from commit 96f250d)
Signed-off-by: Chris Bono <chris.bono@broadcom.com>1 parent d136ea3 commit c87d772
File tree
1 file changed
+5
-0
lines changed- src/main/java/org/springframework/data/redis/core
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | + | ||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
296 | + | ||
297 | + | ||
295 | 298 | | |
296 | 299 | | |
297 | 300 | | |
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
304 | + | ||
305 | + | ||
301 | 306 | | |
302 | 307 | | |
303 | 308 | | |
| |||
0 commit comments