You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "xiaolerzheng (Jira)" <ji...@apache.org> on 2019/11/19 02:12:00 UTC

[jira] [Comment Edited] (HBASE-21593) closing flags show be set false in HRegion

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

xiaolerzheng edited comment on HBASE-21593 at 11/19/19 2:11 AM:
----------------------------------------------------------------

[Duo Zhang|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zhangduo] [Xu Cang|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=xucang] [Michael Stack|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=stack], this PR is not fix  the problem described above...


was (Author: xiaolerzheng):
Duo Zhang Xu Cang, this PR is not fix  the problem described above...

> closing flags show be set false in HRegion
> ------------------------------------------
>
>                 Key: HBASE-21593
>                 URL: https://issues.apache.org/jira/browse/HBASE-21593
>             Project: HBase
>          Issue Type: Bug
>            Reporter: xiaolerzheng
>            Assignee: Xu Cang
>            Priority: Minor
>         Attachments: HBASE-21593.branch-1.001.patch, image-2018-12-13-16-04-51-892.png, image-2018-12-13-16-05-09-246.png, image-2018-12-13-16-05-36-404.png
>
>
> in HRegion.java
>  
>  
> 1429 // block waiting for the lock for closing
> 1430 lock.writeLock().lock();
> 1431 this.closing.set(true);
> 1432 status.setStatus("Disabling writes for close");
>  
> ....
>  
>  
> 1557 } finally {
>        {color:#FF0000}  //should here add {color}
>     {color:#FF0000}    this.closing.set(false); {color}
> 1558  lock.writeLock().unlock();
> 1559 }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)