[ https://issues.apache.org/jira/browse/HBASE-4716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142026#comment-13142026 ]
Ted Yu commented on HBASE-4716: ------------------------------- closeBulkRegionOperation() is at the beginning of finally block. For the alternate code path, we only take one lock. The lock would be released in closeBulkRegionOperation() accordingly. > Improve locking for single column family bulk load > -------------------------------------------------- > > Key: HBASE-4716 > URL: https://issues.apache.org/jira/browse/HBASE-4716 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.0 > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Critical > Fix For: 0.92.0 > > Attachments: 4716-v2.txt, 4716.txt > > > HBASE-4552 changed the locking behavior for single column family bulk load, > namely we don't need to take write lock. > A read lock would suffice in this scenario. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira