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

index scan errors out when zero columns are requested

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.7.7, 0.8.2
    • Component/s: None
    • Labels:
      None

      Description

      As reported by Tyler Hobbs as an addendum to CASSANDRA-2401,

      ERROR 16:13:38,864 Fatal exception in thread Thread[ReadStage:16,5,main]
      java.lang.AssertionError: No data found for SliceQueryFilter(start=java.nio.HeapByteBuffer[pos=10 lim=10 cap=30], finish=java.nio.HeapByteBuffer[pos=17 lim=17 cap=30], reversed=false, count=0] in DecoratedKey(81509516161424251288255223397843705139, 6b657931):QueryPath(columnFamilyName='cf', superColumnName='null', columnName='null') (original filter SliceQueryFilter(start=java.nio.HeapByteBuffer[pos=10 lim=10 cap=30], finish=java.nio.HeapByteBuffer[pos=17 lim=17 cap=30], reversed=false, count=0]) from expression 'cf.626972746864617465 EQ 1'
      	at org.apache.cassandra.db.ColumnFamilyStore.scan(ColumnFamilyStore.java:1517)
      	at org.apache.cassandra.service.IndexScanVerbHandler.doVerb(IndexScanVerbHandler.java:42)
      	at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:72)
      	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:662)
      

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--v1-0001-CASSANDRA-2653-reproduce-regression.txt
          8 kB
          T Jake Luciani
        2. 2653_v3.patch
          8 kB
          Sylvain Lebresne
        3. 2653_v2.patch
          8 kB
          Sylvain Lebresne
        4. 0001-Reset-SSTII-in-EchoedRow-constructor.patch
          3 kB
          Sylvain Lebresne
        5. 0001-Handle-null-returns-in-data-index-query-v0.7.patch
          2 kB
          Sylvain Lebresne
        6. 0001-Handle-data-get-returning-null-in-secondary-indexes.patch
          2 kB
          Sylvain Lebresne
        7. 0001-Fix-scan-issue.patch
          4 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              jbellis Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: