Yanqin Jin d1118f6f19 Add test to check if DB can handle atomic group (#4433)
Summary:
Add unit tests to demonstrate that `VersionSet::Recover` is able to detect and handle cases in which the MANIFEST has valid atomic group, incomplete trailing atomic group, atomic group mixed with normal version edits and atomic group with incorrect size.
With this capability, RocksDB identifies non-valid groups of version edits and do not apply them, thus guaranteeing that the db is restored to a state consistent with the most recent successful atomic flush before applying WAL.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4433

Differential Revision: D10079202

Pulled By: riversand963

fbshipit-source-id: a0e0b8bf4da1cf68e044d397588c121b66c68876
2018-10-30 16:37:47 -07:00
..
2018-08-09 16:58:40 -07:00
2018-09-13 14:27:31 -07:00
2017-10-17 08:57:09 -07:00
2017-07-15 16:11:23 -07:00
2018-10-26 15:08:43 -07:00
2018-10-26 15:08:43 -07:00
2018-10-26 15:08:43 -07:00
2018-10-26 15:08:43 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-10-10 17:32:27 -07:00
2018-10-26 15:08:43 -07:00
2018-10-26 15:08:43 -07:00
2018-10-26 15:08:43 -07:00
2018-10-04 20:46:50 -07:00
2018-10-04 20:46:50 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-08-03 17:42:34 -07:00
2018-08-24 18:13:20 -07:00
2018-10-23 22:14:54 -07:00
2017-07-15 16:11:23 -07:00
2018-10-26 15:08:43 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00