• Andrew Kryczka's avatar
    Embed column family name in SST file · 2391ef72
    Andrew Kryczka authored
    Added the column family name to the properties block. This property
    is omitted only if the property is unavailable, such as when RepairDB()
    writes SST files.
    In a next diff, I will change RepairDB to use this new property for
    deciding to which column family an existing SST file belongs. If this
    property is missing, it will add it to the "unknown" column family (same
    as its existing behavior).
    Test Plan:
    New unit test:
      $ ./db_table_properties_test --gtest_filter=DBTablePropertiesTest.GetColumnFamilyNameProperty
    Reviewers: IslamAbdelRahman, yhchiang, sdong
    Reviewed By: sdong
    Subscribers: andrewkr, dhruba, leveldb
    Differential Revision: https://reviews.facebook.net/D55605