Hi,
I got exception ReadTimeoutException :
com.datastax.driver.core.exceptions.ReadTimeoutException: Cassandra timeout during read query at consistency ONE (1 responses were required but only 0 replica responded)
I did read
https://groups.google.com/a/lists.datastax.com/d/msg/java-driver-user/zqHIjLV4kKI/vPeKRw3pf9YJ and I think I'm in case 2) (node not available to process the query in time) because I never had problem with this query but I did a maintenance on the node at the time of the query, moving a 250GB files from hd1 to hd2, both being used by cassandra for commitlog and datadir, making the node very long to respond to this big query.
So it lead me to some questions :
1) Datastax driver (client side) use timeout configured on the node (server side) by cassandra.yaml ? So nothing to configure client side ?
2) If yes, did the client give up after timeout, or did the client receive a "I give up" from the node which detected itself it was to slow to process the query ?
3) What is bothering me is I don't have any error logged in my cassandra node logs, is it ok ? So I assume the server was able to process the query, but too late and the client was disconnected ? Or maybe the server didn't even receive the query ?
4) Did the driver retry the query on the same node ? I'm using the DefaultRetryPolicy.INSTANCE ? (I m in a single node configuration)
5) Is it the good way to enable retry logging : .withRetryPolicy(new LoggingRetryPolicy( DefaultRetryPolicy.INSTANCE )) ?
Full stacktrace if it may help :
https://gist.githubusercontent.com/anonymous/1382de1d04823530bdc7/raw/e7ee092638a886089492945dce33322325f168b4/gistfile1.txtThank you.