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

A lot of ReadTimeoutException errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Not A Bug
    • 2.2.5
    • Legacy/Core, Legacy/CQL
    • Normal

    Description

      Our application connects directly to OperationalDC via CQL.
      During the daily operation we have a large number of WriteTimeoutException and ReadTimeoutException errors.

      In the logs of Cassandra we can see that the read and write timeout errors are also recorded with the error:

      Java.lang.RuntimeException: java.lang.RuntimeException: org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - received only 1 responses.

      Log Detail, Application Level:
      _22:54:22,945 [ERROR] AbstractEntityManager - Insert object 'Event

      {...}

      ' error com.datastax.driver.core.exceptions.WriteTimeoutException: Cassandra timeout during write query at consistency LOCAL_QUORUM (2 replica were required but only 1 acknowledged the write)_

      Log Detail, Cassandra Level:
      EBUG [SharedPool-Worker-6] 2017-08-24 08:36:40,114 StorageProxy.java:1893 - Range slice failure; received 0 of 1 responses for range 1 of 1 java.lang.RuntimeException: java.lang.RuntimeException: org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - received only 1 responses.

      The timeout error occurs 2 seconds later because of the configuration in the yaml:underlined text
      _# How long the coordinator should wait for writes to complete
      write_request_timeout_in_ms: 2000_

      Attachments

        Activity

          People

            Unassigned Unassigned
            ramirorio Ramiro Rioboo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified