Hi
We are using cassandra datastax driver as part of our solution and we have an issue where we get a TransportException occasionally when we try to run INSERT INTO query. This happens when we have 2 nodes running cassandra each, with one node it stops happening.
Our code basically runs these INSERT queries periodically on both nodes, and for some reason occasionally (and randomly) the execute() function of the datastax driver throws a TransportException.
Because it only happens with 2 nodes, we think it might have something to do with the simultaneous running and/or synchronization of the nodes, but we are not entirely sure.
We looked at the cassandra logs and ruled out memory/GC issues.
Do you have any idea/suggestion why this might be happening?
Thanks
--- info ---
Cassandra version: 4.0.1
Datastax driver version: 3.11.0
Error:
Connection has been closed at com.datastax.driver.core.exceptions.TransportException.copy(TransportException.java:38) at com.datastax.driver.core.exceptions.TransportException.copy(TransportException.java:24) at com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:35) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:293) at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:58)