rocksdb/include/rocksdb/utilities
Maysam Yabandeh fbfa3e7a43 WriteAtPrepare: Efficient read from snapshot list
Summary:
Divide the old snapshots to two lists: a few that fit into a cached array and the rest in a vector, which is expected to be empty in normal cases. The former is to optimize concurrent reads from snapshots without requiring locks. It is done by an array of std::atomic, from which std::memory_order_acquire reads are compiled to simple read instructions in most of the x86_64 architectures.
Closes https://github.com/facebook/rocksdb/pull/2758

Differential Revision: D5660504

Pulled By: maysamyabandeh

fbshipit-source-id: 524fcf9a8e7f90a92324536456912a99aaa6740c
2017-08-26 01:00:38 -07:00
..
lua Change RocksDB License 2017-07-15 16:11:23 -07:00
backupable_db.h Change RocksDB License 2017-07-15 16:11:23 -07:00
checkpoint.h Change RocksDB License 2017-07-15 16:11:23 -07:00
convenience.h Change RocksDB License 2017-07-15 16:11:23 -07:00
date_tiered_db.h Change RocksDB License 2017-07-15 16:11:23 -07:00
db_ttl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
debug.h Fix license headers in Cassandra related files 2017-07-28 13:56:56 -07:00
document_db.h Change RocksDB License 2017-07-15 16:11:23 -07:00
env_librados.h Change RocksDB License 2017-07-15 16:11:23 -07:00
env_mirror.h Change RocksDB License 2017-07-15 16:11:23 -07:00
geo_db.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
info_log_finder.h Change RocksDB License 2017-07-15 16:11:23 -07:00
json_document.h Change RocksDB License 2017-07-15 16:11:23 -07:00
ldb_cmd_execute_result.h Change RocksDB License 2017-07-15 16:11:23 -07:00
ldb_cmd.h Change RocksDB License 2017-07-15 16:11:23 -07:00
leveldb_options.h Change RocksDB License 2017-07-15 16:11:23 -07:00
memory_util.h Change RocksDB License 2017-07-15 16:11:23 -07:00
object_registry.h Change RocksDB License 2017-07-15 16:11:23 -07:00
optimistic_transaction_db.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
option_change_migration.h Change RocksDB License 2017-07-15 16:11:23 -07:00
options_util.h Change RocksDB License 2017-07-15 16:11:23 -07:00
sim_cache.h CacheActivityLogger, component to log cache activity into a file 2017-07-28 12:36:48 -07:00
spatial_db.h Change RocksDB License 2017-07-15 16:11:23 -07:00
stackable_db.h add VerifyChecksum() to db.h 2017-08-09 15:58:13 -07:00
table_properties_collectors.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_db_mutex.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_db.h WriteAtPrepare: Efficient read from snapshot list 2017-08-26 01:00:38 -07:00
transaction.h Use PinnableSlice in Transactions 2017-08-23 10:11:45 -07:00
utility_db.h Ensure Windows build w/o port/port.h in public headers 2015-07-16 12:10:16 -07:00
write_batch_with_index.h Use PinnableSlice in Transactions 2017-08-23 10:11:45 -07:00