Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-17877

Speculative execution threshold unit mismatch

    XMLWordPrintableJSON

Details

    • Degradation - Resource Management
    • Normal
    • Normal
    • User Report
    • All
    • None
    • Hide

      Run existing tests, added an updated check for the speculation thresholds being in the expected range.

      Show
      Run existing tests, added an updated check for the speculation thresholds being in the expected range.

    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.

      Attachments

        Activity

          People

            jonmeredith Jon Meredith
            jonmeredith Jon Meredith
            Jon Meredith
            Caleb Rackliffe, Yifan Cai, Yifan Cai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: