hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14575) Relax region read lock for compactions
Date Wed, 02 Dec 2015 04:27:11 GMT

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

Hudson commented on HBASE-14575:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #521 (See [https://builds.apache.org/job/HBase-Trunk_matrix/521/])
HBASE-14575 Relax region read lock for compactions (Nick and Ted) (tedyu: rev d8b30b892561126b02bd5d27dbe11a01f97908d1)
* hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionServerBulkLoad.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java


> Relax region read lock for compactions
> --------------------------------------
>
>                 Key: HBASE-14575
>                 URL: https://issues.apache.org/jira/browse/HBASE-14575
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Compaction, regionserver
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>         Attachments: 14575-test-case.patch, 14575-v1.patch, 14575-v2.patch, 14575-v3.patch,
14575-v4.patch, 14575-v5.patch, 14575-v6.txt, 14575-v6.txt, 14575-v6.txt, 14575-v7.txt, 14575.v00.patch
>
>
> Per [~devaraj]'s idea on parent issue, let's see if we can reduce the scope of critical
section under which compactions hold the region read lock.
> Here is summary from parent issue:
> Another idea is we can reduce the scope of when the read lock is held during compaction.
In theory the compactor only needs a region read lock while deciding what files to compact
and at the time of committing the compaction. We're protected from the case of region close
events because compactions are checking (every 10k bytes written) if the store has been closed
in order to abort in such a case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message