hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9926) Scanner doesn't check if a region is available
Date Fri, 08 Nov 2013 23:46:17 GMT

    [ 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)

Mime
View raw message