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 2020/10/16 23:22:00 UTC

[jira] [Updated] (PHOENIX-6181) IndexRepairRegionScanner to verify and repair every global index row

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

Kadir OZDEMIR updated PHOENIX-6181:
-----------------------------------
    Attachment: PHOENIX-6181.4.x.002.patch

> IndexRepairRegionScanner to verify and repair every global index row
> --------------------------------------------------------------------
>
>                 Key: PHOENIX-6181
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6181
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 5.0.0, 4.14.3
>            Reporter: Kadir OZDEMIR
>            Assignee: Kadir OZDEMIR
>            Priority: Major
>         Attachments: PHOENIX-6181.4.x.001.patch, PHOENIX-6181.4.x.002.patch
>
>
> IndexRebuildRegionScanner is the server side engine to rebuild and verify every index row pointed by the data table. IndexRebuildRegionScanner runs on data table regions and scans every data table rows locally, and then rebuilds and verifies index table rows referenced by the data table rows over server-to-server RPCs using the HBase client installed on region servers. However, IndexRebuildRegionScanner cannot clean up the index rows that are not referenced by the data table if there are such index rows. In order to do that we need another region scanner that scans index table regions and makes sure that every index row is valid. This region scanner will be called IndexRepairRegionScanner.



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