Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17434

New Synchronization Scheme for Compaction Pipeline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-17434.master.001.patch
          10 kB
          Michael Stack
        2. HBASE-17434-V01.patch
          5 kB
          Eshcar Hillel
        3. HBASE-17434-V02.patch
          10 kB
          Eshcar Hillel
        4. HBASE-17434-V03.patch
          10 kB
          Eshcar Hillel
        5. HBASE-17434-V04.patch
          10 kB
          Eshcar Hillel
        6. HBASE-17434-V05.patch
          10 kB
          Michael Stack
        7. HBASE-17434-V05.patch
          10 kB
          Michael Stack
        8. HBASE-17434-V05.patch
          10 kB
          Michael Stack
        9. HBASE-17434-V05.patch
          10 kB
          Michael Stack
        10. HBASE-17434-V05.patch
          10 kB
          Michael Stack
        11. HBASE-17434-V05.patch
          10 kB
          Eshcar Hillel
        12. HBASE-17434-V06.patch
          10 kB
          Eshcar Hillel

        Issue Links

          Activity

            People

              eshcar Eshcar Hillel
              eshcar Eshcar Hillel
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: