• S
    Follow-up Cleaning-up After D13521 · f03b2df0
    Siying Dong 提交于
    Summary:
    This patch is to address @haobo's comments on D13521:
    1. rename Table to be TableReader and make its factory function to be GetTableReader
    2. move the compression type selection logic out of TableBuilder but to compaction logic
    3. more accurate comments
    4. Move stat name constants into BlockBasedTable implementation.
    5. remove some uncleaned codes in simple_table_db_test
    
    Test Plan: pass test suites.
    
    Reviewers: haobo, dhruba, kailiu
    
    Reviewed By: haobo
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D13785
    f03b2df0
db_impl.h 16.3 KB