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

time-based slicing does not work correctly w/ "historical" memtables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.4
    • None
    • None
    • Normal

    Description

      TimeFilter assumes that it is done as soon as it finds a column stamped earlier than what it is filtering on, but when you have a group of "historical" memtables whose columns were written in an arbitrary order this is not a safe assumption.

      It is not even a safe assumption when dealing with a single memtable + sstable pair, as the attached new test shows.

      Attachments

        1. 223-2-v2.patch
          16 kB
          Jonathan Ellis
        2. 223-2.patch
          17 kB
          Jonathan Ellis
        3. 223.patch
          1 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: