[ https://issues.apache.org/jira/browse/HBASE-9098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey Zhong updated HBASE-9098: --------------------------------- Attachment: hbase-9098-v3.patch The v1 patch causes some regressions. The main reason is that a region could be in RIT state, about to flush and then crash. The latest change won't cover the above situation so I rework the patch as the v3 version. > During recovery use ZK as the source of truth for region state > --------------------------------------------------------------- > > Key: HBASE-9098 > URL: https://issues.apache.org/jira/browse/HBASE-9098 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.95.0 > Reporter: Devaraj Das > Assignee: Jeffrey Zhong > Priority: Blocker > Fix For: 0.95.2 > > Attachments: hbase-9098.patch, hbase-9098-v1.patch, > hbase-9098-v3.patch > > > In HLogSplitter:locateRegionAndRefreshLastFlushedSequenceId(HConnection, > byte[], byte[], String), we talk to the replayee regionserver to figure out > whether a region is in recovery or not. We should look at ZK only for this > piece of information (since that is the source of truth for recovery > otherwise). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira