cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Witschey <jim.witsc...@datastax.com>
Subject Re: Node failure
Date Fri, 06 Oct 2017 19:51:01 GMT
> Modern client drivers also have ways to “downgrade” the CL of requests, in case they
fail. E.g. for the Java driver: http://docs.datastax.com/en/latest-java-driver-api/com/datastax/driver/core/policies/DowngradingConsistencyRetryPolicy.html

Quick note from a driver dev's perspective: Mark, yours sounds like a
bad use case for a downgrading retry policy. If your cluster has an RF
of 2, and your app requires CL.QUORUM, a downgrading policy will, e.g.
try at CL.QUORUM and downgrade below your required CL; or try at
CL.ALL, then fail and downgrade to CL.QUORUM or an equivalent, which
is what your app needs in the first place.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org


Mime
View raw message