You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kadir OZDEMIR (Jira)" <ji...@apache.org> on 2019/12/12 13:16:00 UTC

[jira] [Assigned] (PHOENIX-5615) Index read repair should delete all the cells of an invalid unverified row

     [ https://issues.apache.org/jira/browse/PHOENIX-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kadir OZDEMIR reassigned PHOENIX-5615:
--------------------------------------

    Attachment: PHOENIX-5615.master.001.patch
      Assignee: Kadir OZDEMIR

> 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
>            Assignee: Kadir OZDEMIR
>            Priority: Critical
>         Attachments: PHOENIX-5615.master.001.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)