• S
    Improve scalability of DB::GetSnapshot() · d7a48666
    sdong 提交于
    Summary: Now DB::GetSnapshot() doesn't scale to more column families, as it needs to go through all the column families to find whether snapshot is supported. This patch optimizes it.
    
    Test Plan:
    Add unit tests to cover negative cases.
    make all check
    
    Reviewers: yhchiang, rven, igor
    
    Reviewed By: igor
    
    Subscribers: dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D30093
    d7a48666
db_impl.h 23.0 KB