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

Fix counting of tombstones towards TombstoneOverwhelmingException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.15, 2.1.6
    • None
    • None
    • Normal

    Description

      CASSANDRA-6042 introduced warning on too many tombstones scanned, then CASSANDRA-6117 introduced a hard TombstoneOverwhelmingException condition.

      However, at least SliceQuerFilter.collectReducedColumn() seems to have the logic wrong. Cells that are covered by a range tombstone or a partition high level deletion, still count towards ColumnCounter's ignored register.

      Thus it's possible to have an otherwise healthy (though large) dropped partition read cause an exception that shouldn't be there.

      The only things that should count towards the exception are cell tombstones and range tombstones (CASSANDRA-8527), but never ever live cells shadowed by any kind of tombstone.

      Attachments

        1. 9299-2.0.txt
          12 kB
          Aleksey Yeschenko
        2. 9299-2.1.txt
          14 kB
          Aleksey Yeschenko
        3. 9299-trunk.txt
          18 kB
          Aleksey Yeschenko

        Issue Links

          Activity

            People

              aleksey Aleksey Yeschenko
              aleksey Aleksey Yeschenko
              Aleksey Yeschenko
              Tom Hobbs
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: