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

Jimmy Xiang commented on HBASE-9926:
------------------------------------

The region is switched.  In HRegionServer#scan, we do all checking based on the 
new HRegion instance.  In the scanner, we use the cached old HRegion instance. 
Let me put the old instance in the RegionScannerHolder.

> Scanner doesn't check if a region is available
> ----------------------------------------------
>
>                 Key: HBASE-9926
>                 URL: https://issues.apache.org/jira/browse/HBASE-9926
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>         Attachments: trunk-9926.patch
>
>
> Currently the scanner doesn't check if a region is closing/closed. If a 
> region is closed, then reopened, an old scanner could still refer to the 
> closed HRegion instance.  So the scanner will miss some store file changes 
> due to compaction.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to