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] [Assigned] (PHOENIX-5615) Index read repair should delete all the cells of an invalid unverified row
Date Thu, 12 Dec 2019 13:16:00 GMT

     [ 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)

Mime
View raw message