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

WriteTimeoutException thrown when LWT concurrency > 1, despite the query duration taking MUCH less than cas_contention_timeout_in_ms

    XMLWordPrintableJSON

Details

    • Normal

    Description

      WriteTimeoutException thrown when LWT concurrency > 1, despite the query duration taking MUCH less than cas_contention_timeout_in_ms.

      Unit test attached, run against a 3 node cluster running 2.1.5.

      If you reduce the threadCount to 1, you never see a WriteTimeoutException. If the WTE is due to not being able to communicate with other nodes, why does the concurrency >1 cause inter-node communication to fail?

      Attachments

        1. CassandraLWTTest2.java
          4 kB
          Aaron Whiteside
        2. CassandraLWTTest.java
          4 kB
          Aaron Whiteside

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aaronjwhiteside Aaron Whiteside
              Votes:
              6 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: