• P
    support OnCompactionBegin (#4431) · 09814f2c
    Peter Pei 提交于
    Summary:
    fix #4288
    
    Add `OnCompactionBegin` support to `rocksdb::EventListener`.
    
    Currently, we only have these three callbacks:
    
    - OnFlushBegin
    - OnFlushCompleted
    - OnCompactionCompleted
    
    As paolococchi requested in #4288 , and ajkr agreed, we should also support `OnCompactionBegin`.
    
    This PR is a try to implement the support of `OnCompactionBegin`.
    
    Hope it is useful to you.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/4431
    
    Differential Revision: D10055515
    
    Pulled By: yiwu-arbug
    
    fbshipit-source-id: 39c0f95f8e9ff1c7ca3a10787502a17f258d2334
    09814f2c
db_test2.cc 100.2 KB