Details
Assignee
Piotr KołaczkowskiPiotr KołaczkowskiReporter
Russell SpitzerRussell SpitzerComponents
Affects versions
Priority
Major
Details
Details
Assignee
Piotr Kołaczkowski
Piotr KołaczkowskiReporter
Russell Spitzer
Russell SpitzerComponents
Affects versions
Priority
Created September 23, 2020 at 12:35 PM
Updated September 23, 2020 at 6:44 PM
We need to double check all of our usages of session.execute("String") because of the driver's behavior with idempotentcy.
In particular
https://github.com/datastax/spark-cassandra-connector/blob/993bdd9d946fa49871abdadbb09982e177b2923d/connector/src/main/scala/com/datastax/spark/connector/rdd/partitioner/dht/TokenFactory.scala#L99
Is preformed only a single time so an attempt to look up the token factory name can fail once and never be retried. In pretty much all cases like this we need to build a statement and set idempotency to true.