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

AssertionError in MessagingService.receive for READ_REPAIR verb

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7 beta 2
    • None
    • None
    • Normal

    Description

      Read repair messages are causing an assertion error in MessagingService. Looks like the enum introduced in CASSANDRA-1465 is missing a verb?

      Added two lines of debug output, so lines are a bit off:
      DEBUG [pool-1-thread-1] 2010-09-10 15:39:23,555 MessagingService.java (line 373) Verb: READ_REPAIR
      DEBUG [pool-1-thread-1] 2010-09-10 15:39:23,555 MessagingService.java (line 374) MessageType: null
      ERROR [pool-1-thread-1] 2010-09-10 15:39:23,555 Cassandra.java (line 1744) Internal error processing get
      java.lang.AssertionError
      at org.apache.cassandra.net.MessagingService.receive(MessagingService.java:376)
      at org.apache.cassandra.net.MessagingService.sendOneWay(MessagingService.java:285)
      at org.apache.cassandra.service.ReadResponseResolver.maybeScheduleRepairs(ReadResponseResolver.java:163)
      at org.apache.cassandra.service.ReadResponseResolver.resolve(ReadResponseResolver.java:116)
      at org.apache.cassandra.service.ReadResponseResolver.resolve(ReadResponseResolver.java:43)
      at org.apache.cassandra.service.QuorumResponseHandler.get(QuorumResponseHandler.java:89)
      at org.apache.cassandra.service.StorageProxy.strongRead(StorageProxy.java:430)
      at org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:266)
      at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:113)
      at org.apache.cassandra.thrift.CassandraServer.get(CassandraServer.java:317)
      at org.apache.cassandra.thrift.Cassandra$Processor$get.process(Cassandra.java:1734)
      at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:1634)
      at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

      Attachments

        1. CASSANDRA-1493.patch
          0.6 kB
          Johan Oskarsson

        Activity

          People

            johanoskarsson Johan Oskarsson
            johanoskarsson Johan Oskarsson
            Johan Oskarsson
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: