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

Add CAS “uncertainty” and “contention" messages that are currently propagated as a WriteTimeoutException.

    XMLWordPrintableJSON

    Details

    • Platform:
      All
    • Impacts:
      Clients

      Description

      Right now, CAS uncertainty introduced in https://issues.apache.org/jira/browse/CASSANDRA-6013 is propagating as WriteTimeout. One of this conditions it manifests is when there’s at least one acceptor that has accepted the value, which means that this value may still get accepted during the later round, despite the proposer failure. Similar problem happens with CAS contention, which is also indistinguishable from the “regular” timeout, even though it is visible in metrics correctly.

        Attachments

        1. Utf8StringEncodeBench.java
          4 kB
          Yifan Cai

          Issue Links

            Activity

              People

              • Assignee:
                yifanc Yifan Cai
                Reporter:
                ifesdjeen Alex Petrov
                Authors:
                Yifan Cai
                Reviewers:
                Alex Petrov, Dinesh Joshi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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