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

rrichardson picture rrichardson  ·  7Comments

cetra3 picture cetra3  ·  9Comments

zach-schoenberger picture zach-schoenberger  ·  5Comments

elichai picture elichai  ·  6Comments

yiyanwannian picture yiyanwannian  ·  6Comments