phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kadir OZDEMIR (Jira)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-5615) Index read repair should delete all the cells of an invalid unverified row
Date Thu, 12 Dec 2019 12:03:00 GMT
Kadir OZDEMIR created PHOENIX-5615:
--------------------------------------

             Summary: Index read repair should delete all the cells of an invalid unverified
row
                 Key: PHOENIX-5615
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5615
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.14.3, 5.0.0
            Reporter: Kadir OZDEMIR


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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message