Revision dd6b7fc520a1d406bf5df7fc710ca25208c982f9 authored by Andrew Kryczka on 24 November 2020, 00:27:46 UTC, committed by Facebook GitHub Bot on 24 November 2020, 00:29:04 UTC
Summary:
This PR updates `MemTable::Add()`, `MemTable::Update()`, and
`MemTable::UpdateCallback()` to return `Status` objects, and adapts the
client code in `MemTableInserter`. The goal is to prepare these
functions for key-value checksum, where we want to verify key-value
integrity while adding to memtable. After this PR, the memtable mutation
functions can report a failed integrity check by returning `Status::Corruption`.

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

Reviewed By: riversand963

Differential Revision: D24900497

Pulled By: ajkr

fbshipit-source-id: 1a7e80581e3774676f2bbba2f0a0b04890f40009
1 parent 0baa505
History
File Mode Size
modules
RocksDBConfig.cmake.in -rw-r--r-- 891 bytes

back to top