>
> I did not check the code - is this snitch on by default and, maybe, used
> as wrapper for configured endpoint_snitch?


Yes, the dynamic snitch wraps whatever endpoint_snitch you configure, and
it's on by default.


> As I understand it, the dynamic snitch also has a default slight
> preference for the "primary" replica. This might be implicated here? While
> I don't especially like it and it's probably obsolete in the age of
> speculative retry, I believe its purpose is to increase cache heat on the
> primary replica.
>

It has a preference for the underlying snitch's replica preference.  It
only override's the underlying snitch's decision if the "badness score"
makes those replicas a significantly worse choice.  It's true that part of
the purpose is to reduce cache duplication across replicas, but speculative
retry is orthogonal to that.  (Speculative retry is simply about reducing
99th percentile latencies.)

Reply via email to