• S
    Compare memtable insert and flush count (#8288) · 2f1984dd
    sdong 提交于
    Summary:
    When a memtable is flushed, it will validate number of entries it reads, and compare the number with how many entries inserted into memtable. This serves as one sanity c\
    heck against memory corruption. This change will also allow more counters to be added in the future for better validation.
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/8288
    
    Test Plan: Pass all existing tests
    
    Reviewed By: ajkr
    
    Differential Revision: D28369194
    
    fbshipit-source-id: 7ff870380c41eab7f99eee508550dcdce32838ad
    2f1984dd
db_options.cc 41.3 KB