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

Errors with Super Columns, mixup of 1.2 and 2.0

Log workAgile BoardRank to TopRank to BottomAttach 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
    • 2.0.7
    • None
    • None
    • Normal

    Description

      On our test cluster, we tried a upgrade of Cassandra from 1.2.11 to 2.0.6. During the time we were running with 2 different versions of cassandra, there was errors in the logs:

      ERROR [WRITE-/10.10.0.41] 2014-03-19 11:23:27,523 OutboundTcpConnection.java (line 234) error writing to /10.10.0.41
      java.lang.RuntimeException: Cannot convert filter to old super column format. Update all nodes to Cassandra 2.0 first.
      at org.apache.cassandra.db.SuperColumns.sliceFilterToSC(SuperColumns.java:357)
      at org.apache.cassandra.db.SuperColumns.filterToSC(SuperColumns.java:258)
      at org.apache.cassandra.db.ReadCommandSerializer.serializedSize(ReadCommand.java:192)
      at org.apache.cassandra.db.ReadCommandSerializer.serializedSize(ReadCommand.java:134)
      at org.apache.cassandra.net.MessageOut.serialize(MessageOut.java:116)
      at org.apache.cassandra.net.OutboundTcpConnection.writeInternal(OutboundTcpConnection.java:251)
      at org.apache.cassandra.net.OutboundTcpConnection.writeConnected(OutboundTcpConnection.java:203)
      at org.apache.cassandra.net.OutboundTcpConnection.run(OutboundTcpConnection.java:151)

      I confirm we do have old style super columns which were designed when cassandra was 1.0.x.

      Since in our test cluster the replication factor is 1, I can see errors on the client side, since 1 node among 2 was down. So I don't know for sure if this error in cassandra affected the client, the time frame is too short to be sure from the logs.

      Attachments

        1. 6966.txt
          2 kB
          Sylvain Lebresne
        2. 6966-bikeshed.txt
          3 kB
          Aleksey Yeschenko

        Issue Links

        Activity

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

          People

            slebresne Sylvain Lebresne Assign to me
            hibou Nicolas Lalevée
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment