hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-19095) Add CP hooks in RegionObserver for in memory compaction
Date Tue, 31 Oct 2017 10:16:00 GMT

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

Duo Zhang updated HBASE-19095:
    Attachment: HBASE-19095.patch

Add 4 methods:

preMemStoreCompaction and postMemStoreCompaction will always be called for all in memory compactions.
Under eager mode, preMemStoreCompactionCompactScannerOpen will be called before opening store
scanner to allow you changing the max versions and TTL, and preMemStoreCompactionCompact will
be called after the creation to let you do wrapping.

Modified WriteHeavyIncrementObserver to also injecting the in memory compaction. And add a
new UT TestWriteHeavyIncrementObserverWithMemStoreCompaction to show that all things can be
done in memory.

Include the one line fix in HBASE-19130 otherwise we will never run in memory compaction.

> Add CP hooks in RegionObserver for in memory compaction
> -------------------------------------------------------
>                 Key: HBASE-19095
>                 URL: https://issues.apache.org/jira/browse/HBASE-19095
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Duo Zhang
>             Fix For: 2.0.0-beta-1
>         Attachments: HBASE-19095.patch
> This is a hole in our CP hooks.

This message was sent by Atlassian JIRA

View raw message