-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit edde436
Avoid configuring the database number in JedisClientConfiguration used for Sentinels.
We now no longer configure the database number configured for data node access through JedisClientConfiguration instances that are used for Sentinel node connectivity. Previously, the configured database number lead to issuing a SELECT command on Sentinel that doesn't support database isolation.
Fixes: #2103.
Original Pull Request: #2112 1 parent 1b6737e commit edde436
File tree
2 files changed
+48
-7
lines changed- src
- main/java/org/springframework/data/redis/connection/jedis
- test/java/org/springframework/data/redis/connection/jedis
2 files changed
+48
-7
lines changedLines changed: 11 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
319 | 319 |
| |
320 | 320 |
| |
321 | 321 |
| |
322 | - | ||
322 | + | ||
323 | 323 |
| |
324 | 324 |
| |
325 | 325 |
| |
| |||
360 | 360 |
| |
361 | 361 |
| |
362 | 362 |
| |
363 | - | ||
363 | + | ||
364 | + | ||
365 | + | ||
366 | + | ||
367 | + | ||
364 | 368 |
| |
365 | 369 |
| |
366 | 370 |
| |
367 | 371 |
| |
368 | 372 |
| |
369 | 373 |
| |
370 | 374 |
| |
371 | - | ||
375 | + | ||
372 | 376 |
| |
373 | 377 |
| |
374 | 378 |
| |
| |||
405 | 409 |
| |
406 | 410 |
| |
407 | 411 |
| |
408 | - | ||
409 | 412 |
| |
410 | - | ||
413 | + | ||
411 | 414 |
| |
412 | 415 |
| |
413 | 416 |
| |
| |||
513 | 516 |
| |
514 | 517 |
| |
515 | 518 |
| |
516 | - | ||
519 | + | ||
517 | 520 |
| |
518 | 521 |
| |
519 | 522 |
| |
| |||
904 | 907 |
| |
905 | 908 |
| |
906 | 909 |
| |
907 | - | ||
910 | + | ||
908 | 911 |
| |
909 | 912 |
| |
910 | 913 |
| |
| |||
929 | 932 |
| |
930 | 933 |
| |
931 | 934 |
| |
935 | + | ||
932 | 936 |
| |
933 | 937 |
| |
934 | 938 |
| |
|
Lines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | + | ||
21 | + | ||
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
27 | + | ||
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
| |||
48 | 51 |
| |
49 | 52 |
| |
50 | 53 |
| |
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
51 | 88 |
| |
52 | 89 |
| |
53 | 90 |
| |
|
0 commit comments