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

Ted Yu commented on HBASE-6388:
-------------------------------

In HRegionServer#closeRegion(), we have:
{code}
    } else if (region.isMetaRegion()) {
      crh = new CloseMetaHandler(this, this, region, abort, zk,
        versionOfClosingNode);
    } else {
      crh = new CloseRegionHandler(this, this, region, abort, zk, 
versionOfClosingNode, sn);
    }
    this.service.submit(crh);
{code}
Looks like we parallelize region closing in trunk already.
                
> Avoid potential data loss if the flush fails during regionserver shutdown
> -------------------------------------------------------------------------
>
>                 Key: HBASE-6388
>                 URL: https://issues.apache.org/jira/browse/HBASE-6388
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.89-fb
>            Reporter: Amitanand Aiyer
>            Assignee: Amitanand Aiyer
>            Priority: Critical
>             Fix For: 0.96.0
>
>         Attachments: 
> 0001-HBASE-6388-89-fb-parallelize-close-and-avoid-deletin.patch
>
>
> During a controlled shutdown, Regionserver deletes HLogs even if 
> HRegion.close() fails. We should not be doing this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to