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] [Updated] (HBASE-9926) Scanner doesn't check if a region is available
Date Sat, 09 Nov 2013 00:06:17 GMT

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

Jimmy Xiang updated HBASE-9926:

    Attachment: trunk-9926_v2.patch

Attached v2 that cache the scanner and the region together, so that we can use the same region
instance all the time.  So if the original region instance that will be used by the scanner
is closing/closed, we will get a NotServingRegionException.

> 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, trunk-9926_v2.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

View raw message