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
File | Mode | Size |
---|---|---|
alloc_tracker.cc | -rw-r--r-- | 2.0 KB |
hash_linklist_rep.cc | -rw-r--r-- | 28.8 KB |
hash_linklist_rep.h | -rw-r--r-- | 1.9 KB |
hash_skiplist_rep.cc | -rw-r--r-- | 10.9 KB |
hash_skiplist_rep.h | -rw-r--r-- | 1.5 KB |
inlineskiplist.h | -rw-r--r-- | 35.2 KB |
inlineskiplist_test.cc | -rw-r--r-- | 17.8 KB |
memtablerep_bench.cc | -rw-r--r-- | 23.7 KB |
skiplist.h | -rw-r--r-- | 15.7 KB |
skiplist_test.cc | -rw-r--r-- | 10.2 KB |
skiplistrep.cc | -rw-r--r-- | 8.9 KB |
stl_wrappers.h | -rw-r--r-- | 898 bytes |
vectorrep.cc | -rw-r--r-- | 8.8 KB |
write_buffer_manager.cc | -rw-r--r-- | 5.5 KB |
write_buffer_manager_test.cc | -rw-r--r-- | 6.4 KB |
Computing file changes ...