rocksdb/test_util
Yanqin Jin 2b5c29f9f3 Enforce the contract of SingleDelete (#9888)
Summary:
Enforce the contract of SingleDelete so that they are not mixed with
Delete for the same key. Otherwise, it will lead to undefined behavior.
See https://github.com/facebook/rocksdb/wiki/Single-Delete#notes.

Also fix unit tests and write-unprepared.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9888

Test Plan: make check

Reviewed By: ajkr

Differential Revision: D35837817

Pulled By: riversand963

fbshipit-source-id: acd06e4dcba8cb18df92b44ed18c57e10e5a7635
2022-04-28 14:48:27 -07:00
..
mock_time_env.cc Add a SystemClock class to capture the time functions of an Env (#7858) 2021-01-25 22:09:11 -08:00
mock_time_env.h Make SystemClock into a Customizable Class (#8636) 2021-09-21 09:23:48 -07:00
sync_point_impl.cc SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
sync_point_impl.h SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
sync_point.cc SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
sync_point.h SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
testharness.cc Remove deprecated ObjectLibrary::Register() (and Regex public API) (#9439) 2022-01-26 16:22:44 -08:00
testharness.h Remove deprecated ObjectLibrary::Register() (and Regex public API) (#9439) 2022-01-26 16:22:44 -08:00
testutil_test.cc More Makefile Cleanup (#7097) 2020-07-09 14:35:17 -07:00
testutil.cc Remove BlockBasedTableOptions.hash_index_allow_collision (#9454) 2022-03-01 13:58:02 -08:00
testutil.h Use the comparator from the sst file table properties in sst_dump_tool (#9491) 2022-02-08 12:15:35 -08:00
transaction_test_util.cc Enforce the contract of SingleDelete (#9888) 2022-04-28 14:48:27 -07:00
transaction_test_util.h Enforce the contract of SingleDelete (#9888) 2022-04-28 14:48:27 -07:00