Open jameswren opened 6 years ago
When no local hosts are available, remote hosts are used.
When no local hosts are available, remote hosts are not used.
Configure withUsedHostsPerRemoteDc on the cluster builder's LoadBalancingPolicy:
CassandraMigration.kt#L289 https://docs.datastax.com/en/latest-java-driver-api/com/datastax/driver/core/policies/DCAwareRoundRobinPolicy.Builder.html#withUsedHostsPerRemoteDc-int-
Expected Behaviour
When no local hosts are available, remote hosts are used.
Actual Behaviour
When no local hosts are available, remote hosts are not used.
Suggested fix
Configure withUsedHostsPerRemoteDc on the cluster builder's LoadBalancingPolicy:
CassandraMigration.kt#L289 https://docs.datastax.com/en/latest-java-driver-api/com/datastax/driver/core/policies/DCAwareRoundRobinPolicy.Builder.html#withUsedHostsPerRemoteDc-int-