phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Singhal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-3609) Detect and fix corrupted local index region during compaction
Date Thu, 19 Jan 2017 04:42:26 GMT

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

Ankit Singhal updated PHOENIX-3609:
-----------------------------------
    Attachment: PHOENIX-3609.patch

> Detect and fix corrupted local index region during compaction
> -------------------------------------------------------------
>
>                 Key: PHOENIX-3609
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3609
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>             Fix For: 4.10.0
>
>         Attachments: PHOENIX-3609.patch
>
>
> Local index regions can be corrupted when hbck is run to fix the overlap regions and
directories are simply merged for them to create a single region.
> we can detect this during compaction by looking at the start keys of each store files
and comparing prefix with region start key. if local index for the region is found inconsistent,
we will read the store files of corresponding data region and recreate a data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message