sapling/eden/fs/rocksdb
Adam Simpkins 08d0e2879b add an option to open RocksDbLocalStore in read-only mode
Summary:
Add a mechanism to open the RocksDbLocalStore in read-only mode.  This is
primarily helpful to allow the `eden_store_util` process to examine a DB
without making many modifications, including automatic compactions that might
happen otherwise.

Note that this doesn't appear to be entirely read-only from a file contents
perspective: RocksDB does still rewrite the MANIFEST and OPTIONS files when
opening the DB in read-only mode, and does rotate the logs and write a new LOG
file.

Reviewed By: wez

Differential Revision: D15350216

fbshipit-source-id: 797498f9575a05334b741322654843d6545ca35c
2019-05-20 14:13:59 -07:00
..
CMakeLists.txt eden: cmake: add missing folly dep for the rocksdb component 2019-03-29 15:02:05 -07:00
RocksException.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
RocksException.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
RocksHandles.cpp add an option to open RocksDbLocalStore in read-only mode 2019-05-20 14:13:59 -07:00
RocksHandles.h add an option to open RocksDbLocalStore in read-only mode 2019-05-20 14:13:59 -07:00