rocksdb/utilities/write_batch_with_index
Yanqin Jin 7045b74b47 Remove timestamp before inserting to WBWI's index (#10742)
Summary:
Currently, this original behavior should not lead to incorrect result, but will violate the contract of CompareWithTimestamp() that when a_has_ts or b_has_ts is false, the slice does not include timestamp.

Resolves https://github.com/facebook/rocksdb/issues/10709

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

Test Plan: make check

Reviewed By: ltamasi

Differential Revision: D39834096

Pulled By: riversand963

fbshipit-source-id: c597600f5a7820734f07d0926cdc224cea5eabe1
2022-09-27 09:04:57 -07:00
..
write_batch_with_index.cc Remove timestamp before inserting to WBWI's index (#10742) 2022-09-27 09:04:57 -07:00
write_batch_with_index_internal.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
write_batch_with_index_internal.h Use std::numeric_limits<> (#9954) 2022-05-05 13:08:21 -07:00
write_batch_with_index_test.cc Remove timestamp before inserting to WBWI's index (#10742) 2022-09-27 09:04:57 -07:00