• yiwu-arbug's avatar
    Fix fallback mode fail when it encounter GC-ed file (#30) · b4eb0c50
    yiwu-arbug authored
    Summary:
    In fallback mode, table builder will try to read value from blob file and write the value back to LSM. If the corresponding blob file had been GC-ed and deleted, however, table builder will return error and fail compaction. Fixing it by writing the blob index to output if table builder get error when reading blob value.
    
    Test Plan:
    See the new test.
    Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
    b4eb0c50
db_impl.h 6.09 KB