rocksdb/helpers/memenv
Igor Canadi 832158e7f7 Fsync directory after we create a new file
Summary:
@dhruba, I'm not sure where we need to sync the directory. I implemented the function in Env() and added the dir sync just after we close the newly created file in the builder.

Should I also add FsyncDir() to new files that get created by a compaction?

Test Plan: Confirmed that FsyncDir is returning Status::OK()

Reviewers: dhruba, haobo

Reviewed By: dhruba

CC: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D14751
2014-01-27 11:02:21 -08:00
..
memenv_test.cc Change Function names from Compaction->Flush When they really mean Flush 2013-10-14 15:12:15 -07:00
memenv.cc Fsync directory after we create a new file 2014-01-27 11:02:21 -08:00
memenv.h Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00