Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-43

TransactionVisibilityFilter can prematurely drop delete markers

    XMLWordPrintableJSON

Details

    Description

      In TransactionVisibilityFilter, we have logic to interpret empty values as delete markers, and drop any subsequent versions for the deleted column. When this is applied to a normal client region scan, this works correctly. However, there is a problem when this is applied in some cases on flush and compaction.

      During compaction, we can only drop the delete markers themselves when performing a major compaction. On flush and minor compaction, the delete markers must be retained, otherwise older cells from the same column, which are present in other store files not included in the compaction, may later become visible again due to the removal of the delete markers.

      Attachments

        Issue Links

          Activity

            People

              ghelmling Gary Helmling
              ghelmling Gary Helmling
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: