]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix bug that flush doesn't respond to fsync result
authorSiying Dong <siying.d@fb.com>
Mon, 26 Jun 2017 19:32:52 +0000 (12:32 -0700)
committerAndrew Kryczka <andrewkr@fb.com>
Wed, 28 Jun 2017 22:48:52 +0000 (15:48 -0700)
commit2955407c3ab7e42ff71aa5fb7b5adf3d77ff53ab
tree24abff445893cdb2e70dc83fb204abc166074293
parent6e0597951e51e8dd3b28104d31e52962e00c101f
Fix bug that flush doesn't respond to fsync result

Summary:
With a regression bug was introduced two years ago, by https://github.com/facebook/rocksdb/commit/6e9fbeb27c38329f33ae541302c44c8db8374f8c , we fail to check return status of fsync call. This can cause we miss the information from the file system and can potentially cause corrupted data which we could have been detected.
Closes https://github.com/facebook/rocksdb/pull/2495

Reviewed By: ajkr

Differential Revision: D5321949

Pulled By: siying

fbshipit-source-id: c68117914bb40700198fc37d0e4c63163a8a1031
HISTORY.md
db/builder.cc