The problem: If a Session connection is established, and then later fails to connect, all sessions executed later as part of cassandra queries that rely on that function will fail.
Therefore, a retry function is needed as part of exception handling if the session connection fails.
The problem: If a Session connection is established, and then later fails to connect, all sessions executed later as part of cassandra queries that rely on that function will fail.
Therefore, a retry function is needed as part of exception handling if the session connection fails.
https://stackoverflow.com/questions/28605233/scala-cassandra-cluster-read-fails-with-error-cant-use-this-cluster-instanc