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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4
    • Component/s: None
    • Labels:
      None

      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.patch
          1 kB
          Jonathan Ellis
        2. 223-2.patch
          17 kB
          Jonathan Ellis
        3. 223-2-v2.patch
          16 kB
          Jonathan Ellis

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: