Revision e2f851e064f95534e191d927e74e40e5d67e6ac3 authored by Siying Dong on 26 June 2017, 19:32:52 UTC, committed by sdong on 26 June 2017, 19:59:48 UTC
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
1 parent 09fce6b
History
File Mode Size
dump
rdb
CMakeLists.txt -rw-r--r-- 544 bytes
Dockerfile -rw-r--r-- 81 bytes
auto_sanity_test.sh -rwxr-xr-x 2.7 KB
benchmark.sh -rwxr-xr-x 16.5 KB
benchmark_leveldb.sh -rwxr-xr-x 5.1 KB
check_format_compatible.sh -rwxr-xr-x 3.9 KB
db_bench.cc -rw-r--r-- 986 bytes
db_bench_tool.cc -rw-r--r-- 181.6 KB
db_bench_tool_test.cc -rw-r--r-- 9.8 KB
db_crashtest.py -rw-r--r-- 13.2 KB
db_repl_stress.cc -rw-r--r-- 4.6 KB
db_sanity_test.cc -rw-r--r-- 8.6 KB
db_stress.cc -rw-r--r-- 85.2 KB
dbench_monitor -rwxr-xr-x 2.6 KB
generate_random_db.sh -rwxr-xr-x 726 bytes
ldb.cc -rw-r--r-- 737 bytes
ldb_cmd.cc -rw-r--r-- 94.1 KB
ldb_cmd_impl.h -rw-r--r-- 14.1 KB
ldb_cmd_test.cc -rw-r--r-- 2.0 KB
ldb_test.py -rw-r--r-- 24.3 KB
ldb_tool.cc -rw-r--r-- 4.7 KB
pflag -rwxr-xr-x 4.0 KB
reduce_levels_test.cc -rw-r--r-- 5.4 KB
regression_test.sh -rwxr-xr-x 15.0 KB
rocksdb_dump_test.sh -rwxr-xr-x 336 bytes
run_flash_bench.sh -rwxr-xr-x 13.4 KB
run_leveldb.sh -rwxr-xr-x 6.2 KB
sample-dump.dmp -rw-r--r-- 100 bytes
sst_dump.cc -rw-r--r-- 746 bytes
sst_dump_test.cc -rw-r--r-- 6.5 KB
sst_dump_tool.cc -rw-r--r-- 22.2 KB
sst_dump_tool_imp.h -rw-r--r-- 2.7 KB
verify_random_db.sh -rwxr-xr-x 877 bytes
write_stress.cc -rw-r--r-- 10.8 KB
write_stress_runner.py -rw-r--r-- 2.2 KB

back to top