Revision 8ad63a4b86fe25367f29174036b0baea66165101 authored by Manuel Ung on 29 June 2018, 01:46:39 UTC, committed by Facebook Github Bot on 29 June 2018, 01:58:29 UTC
Summary:
This adds a new WAL marker of type kTypeBeginUnprepareXID.

Also, DBImpl now contains a field called batch_per_txn (meaning one WriteBatch per transaction, or possibly multiple WriteBatches). This would also indicate that this DB is using WriteUnprepared policy.

Recovery code would be able to make use of this extra field on DBImpl in a separate diff. For now, it is just used to determine whether the WAL is compatible or not.
Closes https://github.com/facebook/rocksdb/pull/4069

Differential Revision: D8675099

Pulled By: lth

fbshipit-source-id: ca27cae1738e46d65f2bb92860fc759deb874749
1 parent 25403c2
History
File Mode Size
buckify_rocksdb.py -rw-r--r-- 5.0 KB
rocks_test_runner.sh -rwxr-xr-x 196 bytes
targets_builder.py -rw-r--r-- 1.9 KB
targets_cfg.py -rw-r--r-- 3.7 KB
util.py -rw-r--r-- 3.1 KB

back to top