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 2018/12/13 08:05:00 UTC

[jira] [Updated] (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:all-tabpanel ]

xiaolerzheng updated HBASE-21593:
---------------------------------
    Attachment: image-2018-12-13-16-04-51-892.png

> 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
>            Priority: Minor
>         Attachments: image-2018-12-13-16-04-51-892.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
(v7.6.3#76005)