You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/08/18 21:32:18 UTC

[jira] Created: (HBASE-2927) BaseScanner gets stale HRegionInfo in some race cases

BaseScanner gets stale HRegionInfo in some race cases
-----------------------------------------------------

                 Key: HBASE-2927
                 URL: https://issues.apache.org/jira/browse/HBASE-2927
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.89.20100621, 0.20.6
            Reporter: Jean-Daniel Cryans
            Assignee: Jean-Daniel Cryans
            Priority: Critical
             Fix For: 0.20.7, 0.90.0


This issue is a branch of HBASE-2812, as it is a specific fix for disabling tables in some situations. The issue is that the BaseScanner can get a stale HRI by the time it checks if the region is OFFLINE, and even in trunk where we do a double checkAssigned there is no way for us to tell if the region was offlined in the mean time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-2927) BaseScanner gets stale HRegionInfo in some race cases

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-2927.
---------------------------------------

    Hadoop Flags: [Reviewed]
      Resolution: Fixed

Committed to branch and the part about the HRI to trunk.

> BaseScanner gets stale HRegionInfo in some race cases
> -----------------------------------------------------
>
>                 Key: HBASE-2927
>                 URL: https://issues.apache.org/jira/browse/HBASE-2927
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.6, 0.89.20100621
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.20.7, 0.90.0
>
>         Attachments: HBASE-2927.patch
>
>
> This issue is a branch of HBASE-2812, as it is a specific fix for disabling tables in some situations. The issue is that the BaseScanner can get a stale HRI by the time it checks if the region is OFFLINE, and even in trunk where we do a double checkAssigned there is no way for us to tell if the region was offlined in the mean time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2927) BaseScanner gets stale HRegionInfo in some race cases

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-2927:
--------------------------------------

    Attachment: HBASE-2927.patch

Same patch that was posted in HBASE-2812, going to commit as it was tested/reviewed already.

> BaseScanner gets stale HRegionInfo in some race cases
> -----------------------------------------------------
>
>                 Key: HBASE-2927
>                 URL: https://issues.apache.org/jira/browse/HBASE-2927
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.6, 0.89.20100621
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.20.7, 0.90.0
>
>         Attachments: HBASE-2927.patch
>
>
> This issue is a branch of HBASE-2812, as it is a specific fix for disabling tables in some situations. The issue is that the BaseScanner can get a stale HRI by the time it checks if the region is OFFLINE, and even in trunk where we do a double checkAssigned there is no way for us to tell if the region was offlined in the mean time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.