You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xu Cang (Jira)" <ji...@apache.org> on 2020/01/27 22:29: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=17024718#comment-17024718 ]
Xu Cang commented on HBASE-21593:
---------------------------------
Where is the github PR for this issue? [~stack]
I came to cleanup my Jira issues and wanted to follow up on this one. If it has been solved. I can close it. Otherwise I can give another try. 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
(v8.3.4#803005)