• G
    Fix flush reason attribution (#8150) · 48cd7a3a
    Giuseppe Ottaviano 提交于
    Summary:
    Current flush reason attribution is misleading or incorrect (depending on what the original intention was):
    
    - Flush due to WAL reaching its maximum size is attributed to `kWriteBufferManager`
    - Flushes due to full write buffer and write buffer manager are not distinguishable, both are attributed to `kWriteBufferFull`
    
    This changes the first to a new flush reason `kWALFull`, and splits the second between `kWriteBufferManager` and `kWriteBufferFull`.
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/8150
    
    Reviewed By: zhichao-cao
    
    Differential Revision: D27569645
    
    Pulled By: ot
    
    fbshipit-source-id: 7e3c8ca186a6e71976e6b8e937297eebd4b769cc
    48cd7a3a
db_test_util.h 39.0 KB