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

Make Read Repair unnecessary when Hinted Handoff is enabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.0.0
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              patricioe Patricio Echague
              jbellis Jonathan Ellis
              Patricio Echague
              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