Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5615

Index read repair should delete all the cells of an invalid unverified row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.0, 4.14.3
    • 4.15.0, 5.1.0
    • None
    • None

    Description

      In the current implementation, the index read repair deletes only the cells that are returned by the scan initiated by the Phoenix client instead of deleting all the cells of an invalid unverified row.

      The read repair deletes cells (i.e., a specific version of a row) only when if an index row is overwritten but the corresponding data table row overwrite fails. This leaves the the index row in the unverified status. Then the read repair detects this unverified row when it is scanned and needs to delete the cells of this unverified version of the row. However, the read repair (i.e., GlobalIndexChecker) puts the delete markers for only the cells returned by the scan. If the scan does not return all the cells of the row, then only a subset of the cells of the row will be deleted. The remaining cells will not be removed and can be returned by the scans initiated later. 

      Attachments

        1. PHOENIX-5615.4.x-HBase-1.5.001.patch
          6 kB
          Kadir OZDEMIR
        2. PHOENIX-5615.master.001.patch
          6 kB
          Kadir OZDEMIR

        Issue Links

          Activity

            People

              kozdemir Kadir OZDEMIR
              kozdemir Kadir OZDEMIR
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m