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

        Issue Links

          Activity

          Jonathan Ellis created issue -
          Stu Hood made changes -
          Field Original Value New Value
          Link This issue is related to CASSANDRA-1817 [ CASSANDRA-1817 ]
          Jonathan Ellis made changes -
          Fix Version/s 0.7.1 [ 12315199 ]
          Jonathan Ellis made changes -
          Fix Version/s 0.7.2 [ 12316100 ]
          Brandon Williams made changes -
          Fix Version/s 0.7.3 [ 12316182 ]
          Fix Version/s 0.7.2 [ 12316100 ]
          Jonathan Ellis made changes -
          Original Estimate 8h [ 28800 ]
          Remaining Estimate 8h [ 28800 ]
          Fix Version/s 0.8 [ 12314820 ]
          Fix Version/s 0.7.3 [ 12316182 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.0 [ 12316349 ]
          Fix Version/s 0.8 [ 12314820 ]
          Jonathan Ellis made changes -
          Assignee Jonathan Ellis [ jbellis ] Sylvain Lebresne [ slebresne ]
          Jonathan Ellis made changes -
          Assignee Sylvain Lebresne [ slebresne ] Patricio Echague [ patricioe ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk.patch [ 12488427 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v2.patch [ 12488433 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk.patch [ 12488427 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v2.patch [ 12488433 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk.patch [ 12488436 ]
          Patricio Echague made changes -
          Comment [ Replaces first version ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v2.patch [ 12488842 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v3.patch [ 12489110 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v4.patch [ 12489230 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v5.patch [ 12489232 ]
          Jonathan Ellis made changes -
          Attachment 2034-formatting.txt [ 12489247 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v6.patch [ 12489284 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v7.patch [ 12489401 ]
          Patricio Echague made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v8.patch [ 12489546 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v9.patch [ 12489706 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v10.patch [ 12490050 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v11.patch [ 12490149 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v11.patch [ 12490181 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v12.patch [ 12490276 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v12.patch [ 12490276 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v12.patch [ 12490278 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v13.patch [ 12490308 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v14.patch [ 12490486 ]
          Patricio Echague made changes -
          Attachment CASSANDRA-2034-trunk-v15.patch [ 12490561 ]
          Jonathan Ellis made changes -
          Attachment 2034-v16.txt [ 12490571 ]
          Patricio Echague made changes -
          Attachment 2034-v17.txt [ 12490579 ]
          Jonathan Ellis made changes -
          Attachment 2034-v18.txt [ 12491012 ]
          Patricio Echague made changes -
          Attachment 2034-v19.txt [ 12491426 ]
          Jonathan Ellis made changes -
          Attachment 2034-v19-rebased.txt [ 12492090 ]
          Patricio Echague made changes -
          Attachment 2034-v20.txt [ 12492176 ]
          Patricio Echague made changes -
          Attachment 2034-v21.txt [ 12492391 ]
          Patricio Echague made changes -
          Attachment 2034-v21.txt [ 12492398 ]
          Patricio Echague made changes -
          Attachment 2034-v21.txt [ 12492391 ]
          Jonathan Ellis made changes -
          Reviewer jbellis
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Gavin made changes -
          Workflow no-reopen-closed, patch-avail [ 12543268 ] patch-available, re-open possible [ 12752613 ]
          Gavin made changes -
          Workflow patch-available, re-open possible [ 12752613 ] reopen-resolved, no closed status, patch-avail, testing [ 12755453 ]

            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