Commit 2a6fb7c
committed
fix: fallback to any known node when control node not found by endpoint
When the control connection endpoint doesn't match any node in metadata
(e.g. with PrivateLink or proxy setups), fall back to the first available
node instead of immediately throwing an exception.1 parent e30a07d commit 2a6fb7c
1 file changed
Lines changed: 9 additions & 5 deletions
File tree
- core/src/main/java/com/datastax/oss/driver/internal/core/metadata/schema/queries
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
0 commit comments