To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.
Thanks Sylvain for your help
We are running queries with the in statement and it’s limited to 10k
So our query looks like this
SELECT userid FROM userextendtaxonomies2 WHERE age=0 AND gender=3 AND education=0 AND marital=0 AND income=0 AND interest=0 AND cluster=0 AND purchase=0 AND career=0 AND brand=0 AND connection=0 AND country='' AND userid IN ('1eef5b17-6e8d-4759-a4f9-5b83a2a76049')
In the in statement we put up to 10k userid. We also tried with 5k and we had the same error message
We run the same query in cqlsh and we did not find any issue.
Use this
cluster.getConfiguration().getSocketOptions().setReadTimeoutMillis(600000);
SELECT * FROM users WHERE id = ?)
which would reach the right replica directly. Then all that’s left is to collate the results client-side.