Rust-rocksdb: Open DB in read-only mode

Created on 24 Oct 2018  路  3Comments  路  Source: rust-rocksdb/rust-rocksdb

It would be nice to add possibility to open DB in read-only mode, eg. at least for:

  • Reading DB from multiple processes
  • Create checkpoints of DB which is currently used by other process

This is supported by RocksDB, the only thing needed is to add FFI bindings and open_readonly method to DB structure.

enhancement

Most helpful comment

@eupn I've just pushed the beginnings of ReadOnlyDB into #268. Right now all it supports is get_* operations, but it will soon support the other read operations.

All 3 comments

@eupn I've just pushed the beginnings of ReadOnlyDB into #268. Right now all it supports is get_* operations, but it will soon support the other read operations.

@eupn Here is one of the first tests for ReadOnlyDB.

@iSynaptic I can not found ReadOnlyDB in master branch .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zach-schoenberger picture zach-schoenberger  路  7Comments

elichai picture elichai  路  6Comments

iSynaptic picture iSynaptic  路  5Comments

alex88 picture alex88  路  7Comments

jonhoo picture jonhoo  路  22Comments