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

Exception when computing read-repair for range tombstones

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.9, 3.8
    • Legacy/Coordination
    • None
    • CentOS 6, Cassandra 3.5

    • Normal

    Description

      Just noticed the following exception in Cassandra logs:

      java.lang.IllegalStateException: null
      	at org.apache.cassandra.db.rows.RangeTombstoneBoundMarker.openDeletionTime(RangeTombstoneBoundMarker.java:87) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.service.DataResolver$RepairMergeListener$MergeListener.onMergedRangeTombstoneMarkers(DataResolver.java:275) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator$MergeReducer.getReduced(UnfilteredRowIterators.java:482) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator$MergeReducer.getReduced(UnfilteredRowIterators.java:437) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.utils.MergeIterator$ManyToOne.consume(MergeIterator.java:217) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:156) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:419) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:279) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:112) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.statements.SelectStatement.processPartition(SelectStatement.java:720) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.statements.SelectStatement.process(SelectStatement.java:659) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.statements.SelectStatement.processResults(SelectStatement.java:382) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:335) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:209) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:76) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:206) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:472) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:449) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.transport.messages.ExecuteMessage.execute(ExecuteMessage.java:130) ~[apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [apache-cassandra-3.5.jar:3.5]
      	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      	at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
      	at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) [apache-cassandra-3.5.jar:3.5]
      	at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.5.jar:3.5]
      	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
      

      This leads to the closed connection:

      java.lang.RuntimeException: com.datastax.driver.core.exceptions.TransportException: [/172.20.202.193] Connection has been closed
      

      Attachments

        Activity

          People

            slebresne Sylvain Lebresne
            arokhin Artem Rokhin
            Sylvain Lebresne
            Branimir Lambov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: