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

ReadCallback AssertionError: resolver.getMessageCount() <= endpoints.size()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7.4
    • None
    • None
    • Normal

    Description

      In a three node cluster with RF=2, when trying to page through all rows with get_range_slices() at CL.ONE, I get timeouts on the client side. Looking at the Cassandra logs, all of the nodes show the following AssertionError repeatedly:

      ERROR [RequestResponseStage:2] 2011-03-07 19:10:27,527 DebuggableThreadPoolExecutor.java (line 103) Error in ThreadPoolExecutor
      java.lang.AssertionError
              at org.apache.cassandra.service.ReadCallback.response(ReadCallback.java:127)
              at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:49)
              at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:72)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
              at java.lang.Thread.run(Thread.java:636)
      ERROR [RequestResponseStage:2] 2011-03-07 19:10:27,529 AbstractCassandraDaemon.java (line 114) Fatal exception in thread Thread[RequestResponseStage:2,5,main]
      java.lang.AssertionError
              at org.apache.cassandra.service.ReadCallback.response(ReadCallback.java:127)
              at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:49)
              at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:72)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
              at java.lang.Thread.run(Thread.java:636)
      

      The nodes are all running 0.7.3. The cluster was at size 3 before any data was inserted, and everything else appears perfectly healthy.

      Attachments

        1. 2282.txt
          3 kB
          Jonathan Ellis
        2. 2282-v2.txt
          3 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            thobbs Tom Hobbs
            Jonathan Ellis
            Tom Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: