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/06/23 01:52:50 UTC

[jira] Updated: (HBASE-2772) Scan doesn't recover from region server failure

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

Jean-Daniel Cryans updated HBASE-2772:
--------------------------------------

    Attachment: HBASE-2772.patch

Patch that fixes the issue and adds a unit test. I made it that if you go over the timeout from the client POV then it'll throw the Exception, else it will reset the scanner.

I had to up the timeout in the test, the other solution is to create a new unit test that would take longer.

> Scan doesn't recover from region server failure
> -----------------------------------------------
>
>                 Key: HBASE-2772
>                 URL: https://issues.apache.org/jira/browse/HBASE-2772
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.21.0
>
>         Attachments: HBASE-2772.patch
>
>
> Very simple, if the region server you are scanning from dies for any reason, your scanner will die too because it will not try to get a new lease and will reuse the same id.
> It doesn't happen to region that moves because we keep them opened until the scanner is closed.
> It could be affecting branch, I'm just not sure yet.
> I found this issue with TestReplication from HBASE-2223.

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