Hello Team,
Problem:- We have done LCM of Cassandra driver from to 2.6 to 2.16.We are facing below problem in datastax driver 2.16.
1. We have use case where we continuously inserting the data.
2. Cassandra server is restarted and application waits for it to coming up using Nodetool command.
3. When Nodetool confirms that Cassandra server is up the application start processing the data using Datastax driver 2.16
4. Driver is throwing exception that server is offline while server is running perfectly fine at the backend.
5. We had analyzed the driver logs that it start reconnecting with exponential reconnection policy is by default.
6. We had also checked in 2.6 , reconnect policy was constant reconnect by default.
Query:-
1. Why default policy have been changed in 2.16.
2. We had observed that it is reconnect comes into action on heartbeat failure.
3. Why other operation (insert/select) dont check connection with server directly while processing the request. is reconnect blocking all other request until driver restores connection with Cassandra server.
Regards