You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2019/06/06 23:49:00 UTC
[jira] [Commented] (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=16858186#comment-16858186 ]
stack commented on HBASE-21593:
-------------------------------
Commented on the PR. Will close it out if no attention in next few days. Thanks.
> 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
(v7.6.3#76005)