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

sub columns under deleted CF returned

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Not A Problem
    • None
    • None
    • None
    • Low

    Description

      found when working on CASSANDRA-2590

      In some cases sub columns are not filtered to check if they have a higher timestamp than and container super column or CF. For example a super col with two two columns, one with timestamp 0 and the other 5, will be returned with all columns even if there is a row delete at timestamp 2.

      If the QueryFilter is created with a null superColumnName in the QueryPath it will not filter the sub columns.

      IdentityQueryFilter.filterSuperColumn() lets all sub columns through. NamesQueryFilter.filterSubColumn() and SliceQueryFilter() check that each sub column is relavent.

      I have a fix and am working on some test cases.

      Attachments

        Issue Links

          Activity

            People

              amorton Aaron Morton
              amorton Aaron Morton
              Aaron Morton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: