You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/10/08 01:50:26 UTC

[jira] [Updated] (HBASE-14575) Reduce scope of compactions holding region lock

     [ https://issues.apache.org/jira/browse/HBASE-14575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk updated HBASE-14575:
---------------------------------
    Attachment: 14575.v00.patch

Following [~devaraj]'s suggestion, here's a patch that reduces the scope within which compactions hold the region lock. I'm not sure if it's correct, maybe you folks can give some feedback, but it's passing {{-Dtest=TestCompaction*}} and {{-Dtest=org.apache.hadoop.hbase.regionserver.Test*Store*}} locally for me. Let me see about a ITBLL or similar. I also don't know if it'll actually help the reported issue, need to devise a realistic test for that.

Also, I was incorrect about checking for interruption on every cell. It's actually every 10k bytes written.

> Reduce scope of compactions holding region lock
> -----------------------------------------------
>
>                 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.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.



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