fbfa3e7a43
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 |
||
---|---|---|
.. | ||
lua | ||
backupable_db.h | ||
checkpoint.h | ||
convenience.h | ||
date_tiered_db.h | ||
db_ttl.h | ||
debug.h | ||
document_db.h | ||
env_librados.h | ||
env_mirror.h | ||
geo_db.h | ||
info_log_finder.h | ||
json_document.h | ||
ldb_cmd_execute_result.h | ||
ldb_cmd.h | ||
leveldb_options.h | ||
memory_util.h | ||
object_registry.h | ||
optimistic_transaction_db.h | ||
option_change_migration.h | ||
options_util.h | ||
sim_cache.h | ||
spatial_db.h | ||
stackable_db.h | ||
table_properties_collectors.h | ||
transaction_db_mutex.h | ||
transaction_db.h | ||
transaction.h | ||
utility_db.h | ||
write_batch_with_index.h |