Fix fallback mode fail when it encounter GC-ed file (#30)
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:
Yi Wu <yiwu@pingcap.com>
Showing
Please
register
or
sign in
to comment