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

AssertionError inserting more than 8 values in 100-column table

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0 beta 2
    • Legacy/CQL
    • None
    • Normal

    Description

      I created a 100-column table of UUIDs, then inserted rows that didn't populate every column. When I insert 8 values, the insertion completes successfully. When I insert 9 values, the request fails with an AssertionError:

      ERROR [SharedPool-Worker-2] 2015-08-25 12:46:27,839 Message.java:611 - Unexpected exception during request; channel = [id: 0xf0ea910e, /127.0.0.1:57948 => /127.0.0.1:9042]
      java.lang.AssertionError: null
              at org.apache.cassandra.db.partitions.PartitionUpdate.add(PartitionUpdate.java:541) ~[main/:na]
              at org.apache.cassandra.cql3.statements.UpdateStatement.addUpdateForKey(UpdateStatement.java:85) ~[main/:na]
              at org.apache.cassandra.cql3.statements.ModificationStatement.getMutations(ModificationStatement.java:824) ~[main/:na]
              at org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:611) ~[main/:na]
              at org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:599) ~[main/:na]
              at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:204) ~[main/:na]
              at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:235) ~[main/:na]
              at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:220) ~[main/:na]
              at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:123) ~[main/:na]
              at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [main/:na]
              at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [main/:na]
              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_45]
              at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164) [main/:na]
              at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [main/:na]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
      

      A Python script and shell harness for running CCM and starting the script can be found here:

      https://gist.github.com/mambocab/b90c1b90d57653450e3c

      EDIT: I should note, I haven't reproduced this on 2.2.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            blerer Benjamin Lerer Assign to me
            mambocab Jim Witschey
            Benjamin Lerer
            Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment