Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Degradation - Resource Management
-
Normal
-
Normal
-
User Report
-
All
-
None
-
Description
CASSANDRA-16760 changed the ColumnFamilyStore.coordinatorRead/WriteLatency to be in microseconds rather than nanoseconds but did not change the calculation for ColumnFamilyStore.sampleReadLatencyNanos/additionalWriteLatency which is used as the threshold for speculative read execution / issuing additional writes.
The impact of this bug is that the threshold is 1000x smaller than intended when using percentile based speculation (tables default to 99p), so effectively speculation happens for ALL reads configured to speculate on a percentile, including min hybrid policies that use percentiles.