Cassandra
  1. Cassandra
  2. CASSANDRA-2034

Make Read Repair unnecessary when Hinted Handoff is enabled

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, HH is purely an optimization – if a machine goes down, enabling HH means RR/AES will have less work to do, but you can't disable RR entirely in most situations since HH doesn't kick in until the FailureDetector does.

      Let's add a scheduled task to the mutate path, such that we return to the client normally after ConsistencyLevel is achieved, but after RpcTimeout we check the responseHandler write acks and write local hints for any missing targets.

      This would making disabling RR when HH is enabled a much more reasonable option, which has a huge impact on read throughput.

      1. CASSANDRA-2034-trunk-v9.patch
        36 kB
        Patricio Echague
      2. CASSANDRA-2034-trunk-v8.patch
        35 kB
        Patricio Echague
      3. CASSANDRA-2034-trunk-v7.patch
        40 kB
        Patricio Echague
      4. CASSANDRA-2034-trunk-v6.patch
        29 kB
        Patricio Echague
      5. CASSANDRA-2034-trunk-v5.patch
        31 kB
        Patricio Echague
      6. CASSANDRA-2034-trunk-v4.patch
        28 kB
        Patricio Echague
      7. CASSANDRA-2034-trunk-v3.patch
        25 kB
        Patricio Echague
      8. CASSANDRA-2034-trunk-v2.patch
        23 kB
        Patricio Echague
      9. CASSANDRA-2034-trunk-v15.patch
        66 kB
        Patricio Echague
      10. CASSANDRA-2034-trunk-v14.patch
        71 kB
        Patricio Echague
      11. CASSANDRA-2034-trunk-v13.patch
        63 kB
        Patricio Echague
      12. CASSANDRA-2034-trunk-v12.patch
        39 kB
        Patricio Echague
      13. CASSANDRA-2034-trunk-v11.patch
        37 kB
        Patricio Echague
      14. CASSANDRA-2034-trunk-v11.patch
        39 kB
        Patricio Echague
      15. CASSANDRA-2034-trunk-v10.patch
        34 kB
        Patricio Echague
      16. CASSANDRA-2034-trunk.patch
        20 kB
        Patricio Echague
      17. 2034-v21.txt
        79 kB
        Patricio Echague
      18. 2034-v20.txt
        75 kB
        Patricio Echague
      19. 2034-v19-rebased.txt
        70 kB
        Jonathan Ellis
      20. 2034-v19.txt
        69 kB
        Patricio Echague
      21. 2034-v18.txt
        28 kB
        Jonathan Ellis
      22. 2034-v17.txt
        65 kB
        Patricio Echague
      23. 2034-v16.txt
        58 kB
        Jonathan Ellis
      24. 2034-formatting.txt
        18 kB
        Jonathan Ellis

        Issue Links

          Activity

            People

            • Assignee:
              Patricio Echague
              Reporter:
              Jonathan Ellis
              Reviewer:
              Jonathan Ellis
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development