Starting with version 4.9, the Apache Software Foundation owns and maintains the NodeJS driver. For the latest version, visit github.com/apache/cassandra-nodejs-driver
A retry policy that avoids retrying non-idempotent statements.
In case of write timeouts or unexpected errors, this policy will always return
rethrowResult() if the statement is deemed non-idempotent
(see QueryOptions.isIdempotent).
For all other cases, this policy delegates the decision to the child policy.
The number of replicas that were known to be alive when the request had been processed
(since an unavailable exception has been triggered, there will be alive < required)
Returns:
Type
Description
DecisionInfo
onWriteTimeout
()
If the query is not idempotent, it return a rethrow decision. Otherwise, it relies on the child policy to decide.
rethrowResult
()
Returns a DecisionInfo to callback in error when a err is obtained for a given request.