• I
    [column families] Implement DB::OpenWithColumnFamilies() · 72918eff
    Igor Canadi 提交于
    Summary:
    In addition to implementing OpenWithColumnFamilies, this diff also includes some minor changes:
    * Changed all column family names from Slice() to std::string. The performance of column family name handling is not critical, and it's more convenient and cleaner to have names as std::strings
    * Implemented ColumnFamilyOptions(const Options&) and DBOptions(const Options&)
    * Added ColumnFamilyOptions to VersionSet::ColumnFamilyData. ColumnFamilyOptions are specified on OpenWithColumnFamilies() and CreateColumnFamily()
    
    I will keep the diff in the Phabricator for a day or two and will push to the branch then. Feel free to comment even after the diff has been pushed.
    
    Test Plan: Added a simple unit test
    
    Reviewers: dhruba, haobo
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D15033
    72918eff
column_family_test.cc 2.4 KB