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

Speculative Retry Policy Should Support Specifying MIN/MAX of 2 PERCENTILE and FIXED Policies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • None
    • None

    Description

      Currently the Speculative Retry Policy takes a single string as a parameter, this can be NONE, ALWAYS, 99PERCENTILE (PERCENTILE), 50MS (CUSTOM).

      The problem we have is when a single host goes into a bad state this drags up the percentiles. This means if we are set to use p99 alone, we might not speculate when we intended to to because the value at the specified percentile has gone so high.

      As a fix we need to have support for something like min(99percentile,50ms)

      this means if the normal p99 for the table is <50ms, we will still speculate at this value and not drag the happy path tail latencies up... but if the p99th goes above what we know we should never exceed we use that instead.

      Attachments

        Activity

          People

            mkjellman Michael Kjellman
            mkjellman Michael Kjellman
            Michael Kjellman
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: