Fix Query Throttling

Description

The Java Driver upgrade changed the behvaior of executeAsync

Now rather than blocking when the pool queue is full, it returns a future with an error. The SCC previously relied on the blocking behavior to stop issuing queries which results in usages of
joinWithCassandraTable and
saveToCassandra

Now breaking on unthrottled connections.

A workaround at the moment is to increase the number of max connections and throttle those operations. We should figure out how to get the old behavior back or adjust the throttling automatically.

Environment

None

Pull Requests

https://github.com/datastax/spark-cassandra-connector/pull/1137
100% Done
0

relates to

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Reviewer

Components

Affects versions

Priority

Created July 25, 2017 at 2:31 PM
Updated June 27, 2018 at 9:09 PM
Resolved August 17, 2017 at 5:39 PM