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

Safer handling of out of range tokens

    XMLWordPrintableJSON

Details

    • Critical
    • 4.0
    • Hide

      There are several new unit and distributed tests around out-of-token-range requests, in addition to new bits of logging when these requests occur and metrics that count their frequencies.

      Show
      There are several new unit and distributed tests around out-of-token-range requests, in addition to new bits of logging when these requests occur and metrics that count their frequencies.

    Description

      It is possible for nodes to have a divergent view of the ring, which can result in some operations being sent to the wrong nodes. This is an umbrella ticket to mitigate such issues by adding logging when a node is asked to perform an operation for tokens it does not own. This will be useful for detecting when the nodes' views of the ring diverge, which is not highly visible at the moment, and also for post-hoc analysis.

      It may also be beneficial to straight up reject certain operations, though this will need to balance the risk of performing those ops against the consequences rejecting them has on availability.

      Attachments

        1. CASSANDRA-13704_5-0_23_ci_summary.html
          1.01 MB
          Michael Semb Wever
        2. CASSANDRA-13704_5-0_23_results_details.tar.xz
          1.24 MB
          Michael Semb Wever
        3. CASSANDRA-13704_5-0_24_ci_summary.html
          49.02 MB
          Michael Semb Wever
        4. CASSANDRA-13704_5-0_24_results_details.tar.xz
          13.24 MB
          Michael Semb Wever
        5. CASSANDRA-13704_5-0_25_ci_summary.html
          31.75 MB
          Michael Semb Wever
        6. CASSANDRA-13704_5-0_25_results_details.tar.xz
          9.32 MB
          Michael Semb Wever
        7. ci_summary.html
          8 kB
          Caleb Rackliffe
        8. ci_summary-1.html
          88 kB
          Caleb Rackliffe
        9. ci_summary-2.html
          39 kB
          Caleb Rackliffe
        10. result_details.tar.gz
          28.78 MB
          Caleb Rackliffe
        11. result_details.tar-1.gz
          40.30 MB
          Caleb Rackliffe
        12. result_details.tar-2.gz
          2.56 MB
          Caleb Rackliffe

        Issue Links

          Activity

            People

              maedhroz Caleb Rackliffe
              samt Sam Tunnicliffe
              Ariel Weisberg, Caleb Rackliffe, Michael Semb Wever, Sam Tunnicliffe
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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