Skip to content
Commit 72d00eff authored by yiwu-arbug's avatar yiwu-arbug Committed by Yi Wu
Browse files

Sync titan directory when adding blob files (#136)



Summary:
When adding new blob file, titan directory need to be fsync, otherwise files can be lost after power outage.

Test Plan:
run `strace -yfe fsync ./titan_titan_db_test --gtest_filter=*.Snapshot` and see titan directory being fsync-ed in the output.

Signed-off-by: default avatarYi Wu <yiwu@pingcap.com>
parent 4ea03273
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment