You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Eshcar Hillel (JIRA)" <ji...@apache.org> on 2017/01/06 19:03:58 UTC

[jira] [Created] (HBASE-17434) New Synchronization Scheme for Compaction Pipeline

Eshcar Hillel created HBASE-17434:
-------------------------------------

             Summary: New Synchronization Scheme for Compaction Pipeline
                 Key: HBASE-17434
                 URL: https://issues.apache.org/jira/browse/HBASE-17434
             Project: HBase
          Issue Type: Bug
            Reporter: Eshcar Hillel


A new copyOnWrite synchronization scheme is introduced for the compaction pipeline.
The new scheme is better since it removes the lock from getSegments() which is invoked in every get and scan operation, and it reduces the number of LinkedList objects that are created at runtime, thus can reduce GC (not by much, but still...).

In addition, it fixes the method getTailSize() in compaction pipeline. This method creates a MemstoreSize object which comprises the data size and the overhead size of the segment and needs to be atomic.



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