• I
    [CF] CreateColumnFamily fix · 510f84b6
    Igor Canadi 提交于
    Summary:
    This fixes few bugs with CreateColumnFamily
    * We first have to LogAndApply and then call VersionSet::CreateColumnFamily. Otherwise, WriteSnapshot might be invoked, writing out column family add inside of LogAndApply, even though it's not really committed
    * Fix LogAndApplyHelper() to not apply log number to column_family_data, which is in case of column family add, just a dummy (default) column family
    * Create SuperVerion when creating column family
    
    Test Plan: column_family_test
    
    Reviewers: dhruba, haobo
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D16443
    510f84b6
column_family_test.cc 23.3 KB