[ 
https://issues.apache.org/jira/browse/PHOENIX-3609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853785#comment-15853785
 ] 

Hudson commented on PHOENIX-3609:
---------------------------------

SUCCESS: Integrated in Jenkins build Phoenix-master #1546 (See 
[https://builds.apache.org/job/Phoenix-master/1546/])
PHOENIX-3609 Detect and fix corrupted local index region during 
(ankitsinghal59: rev 76e4264d0c0b234fe300dbbaf33dbe7984cf92e8)
* (edit) 
phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReaderGenerator.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataRegionObserver.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/hbase/index/Indexer.java
* (edit) 
phoenix-core/src/it/java/org/apache/phoenix/end2end/index/LocalIndexIT.java
* (add) 
phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/DataTableLocalIndexRegionScanner.java
* (add) phoenix-core/src/main/java/org/apache/phoenix/util/RepairUtil.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/util/MetaDataUtil.java


> 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, PHOENIX-3609_v1.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.15#6346)

Reply via email to