Skip to content

Commit b3ee115

Browse files
author
Sylvain Lebresne
committed
Fix missing refresh of token map when nodes are removed
1 parent da71e47 commit b3ee115

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,5 +357,6 @@ public void onAdd(Host host) {
357357

358358
public void onRemove(Host host) {
359359
balancingPolicy.onRemove(host);
360+
refreshNodeListAndTokenMap();
360361
}
361362
}

0 commit comments

Comments
 (0)