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
amalgamate.py -rwxr-xr-x 4.7 KB
build_detect_platform -rwxr-xr-x 29.6 KB
dependencies.sh -rw-r--r-- 2.1 KB
dependencies_4.8.1.sh -rw-r--r-- 2.2 KB
dependencies_platform007.sh -rw-r--r-- 2.1 KB
dependencies_platform009.sh -rw-r--r-- 2.1 KB
dockerbuild.sh -rwxr-xr-x 148 bytes
error_filter.py -rw-r--r-- 6.6 KB
fb_compile_mongo.sh -rwxr-xr-x 1.5 KB
fbcode_config.sh -rw-r--r-- 4.7 KB
fbcode_config4.8.1.sh -rw-r--r-- 3.7 KB
fbcode_config_platform007.sh -rw-r--r-- 5.0 KB
fbcode_config_platform009.sh -rw-r--r-- 5.0 KB
format-diff.sh -rwxr-xr-x 6.8 KB
gnu_parallel -rwxr-xr-x 238.6 KB
make_package.sh -rwxr-xr-x 3.0 KB
precommit_checker.py -rwxr-xr-x 5.6 KB
regression_build_test.sh -rwxr-xr-x 11.3 KB
rocksdb-lego-determinator -rwxr-xr-x 34.4 KB
run_ci_db_test.ps1 -rw-r--r-- 14.5 KB
setup_centos7.sh -rwxr-xr-x 1.2 KB
update_dependencies.sh -rwxr-xr-x 5.4 KB
version.sh -rwxr-xr-x 769 bytes

back to top