sapling/eden/fs
Adam Simpkins 981952749d attempt to repair the RocksDB if we fail to open it
Summary:
Update `RocksHandles` to call `RepairDB()` if we get an error opening the
database.

We have seen errors opening the DB in some cases after hard server reboots.
In every case so far `ldb repair` has been able to repair it with no adverse
effects.  This simply makes `edenfs` automatically attempt to perform this DB
repair step.

Reviewed By: chadaustin, strager

Differential Revision: D14452216

fbshipit-source-id: 10c0cb0ff9cea3c3bbe485a4e489e4a6df640803
2019-03-18 11:36:42 -07:00
..
benchharness standardize some of the benchmark infrastructure 2018-11-13 15:27:50 -08:00
config Use FileUtil APIs on Windows 2019-03-18 10:00:32 -07:00
fuse tweak error log messages for unhandled fuse opcodes. 2019-03-14 13:07:09 -07:00
inodes stop emitting error logs about flush() and fsyncdir() 2019-03-14 13:07:09 -07:00
journal Add assorted missing includes 2019-03-07 00:13:47 -08:00
model Add assorted missing includes 2019-03-07 00:13:47 -08:00
rocksdb attempt to repair the RocksDB if we fail to open it 2019-03-18 11:36:42 -07:00
service rename some of the files related to main() 2019-03-15 18:13:58 -07:00
sqlite avoid leaking the sqlite3 db if we fail to open it 2018-06-20 16:36:22 -07:00
store explicitly flush all column families when opening the RocksDB 2019-03-18 11:36:42 -07:00
takeover Add missing copyright notices 2019-03-07 19:32:39 -08:00
testharness Add USER_ID variable for config options 2019-03-14 18:19:41 -07:00
tracing eden: add missing cmake for eden/fs/tracing 2018-12-15 19:11:05 -08:00
utils Add assorted missing includes 2019-03-07 00:13:47 -08:00
CMakeLists.txt Add missing copyright notices 2019-03-07 19:32:39 -08:00