Hi Alain,
Thank you for your answer.
I recently queried multiple times my cluster with consistency ONE and
setting "myLocalDC" (withUsedHostsPerRemoteDc=1)
However sometimes (not always) I got response from the node in the remote
DC. All my nodes in "myLocalDC" were up and running.
I was facing
Hi George,
Would that be correct?
I think it is actually quite the opposite :-).
It is very well explained here:
https://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/DCAwareRoundRobinPolicy.Builder.html#withUsedHostsPerRemoteDc-int-
Connection is opened to the X node
Hello,
Using withLocalDC="myLocalDC" and withUsedHostsPerRemoteDc>0 will guarantee
that you will connect to one of the nodes in "myLocalDC",
but DOES NOT guarantee that your read/write request will be acknowledged by
a "myLocalDC" node. It may well be acknowledged by a remote DC node as
well, eve