• Yanqin Jin's avatar
    Fix a few bugs in best-efforts recovery (#6824) · e72e2167
    Yanqin Jin 创作于
    Summary:
    1. Update column_family_memtables_ to point to latest column_family_set in
       version_set after recovery.
    2. Normalize file paths passed by application so that directories end with '/'
       or '\\'.
    3. In addition to missing files, corrupted files are also ignored in
       best-efforts recovery.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/6824
    
    Test Plan: COMPILE_WITH_ASAN=1 make check
    
    Reviewed By: anand1976
    
    Differential Revision: D21463905
    
    Pulled By: riversand963
    
    fbshipit-source-id: c48db8843cc93c8c1c7139c474b64e6f775307d2
    e72e2167