Commit ce64618
authored
Include ServerError in downgrade criteria from peers_v2 to peers (apache#1085)
The logic from JAVA-1388 dictates that the driver downgrades from
system.peers_v2 to system.peers for node discovery if an
INVALID_QUERY error is received.
DSE 6.0.0 to 6.0.2 with search enabled inappropriately responds with
a SERVER_ERROR with the message "Unknown keyspace/cf pair
(system.peers_v2)". This commit handles this case specifically.1 parent 8b37656 commit ce64618
File tree
1 file changed
+8
-3
lines changed- driver-core/src/main/java/com/datastax/driver/core
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
707 | 708 | | |
708 | 709 | | |
709 | 710 | | |
710 | | - | |
711 | | - | |
712 | | - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
713 | 718 | | |
714 | 719 | | |
715 | 720 | | |
| |||
0 commit comments