leveldb icon indicating copy to clipboard operation
leveldb copied to clipboard

[FR] readonly mode

Open mrx23dot opened this issue 2 years ago • 8 comments

Please add a new parameter during database opening to make it only readable, in case big/expensive database is used or database is on a CD/DVD.

This would also make it possible to open it within multiple processes (LOCK file wont be created). It would also help with power interruption caused corruption. eg https://groups.google.com/g/leveldb/c/YvszWNio2-Q

Access denied could be returned with write/compaction operation. I don't mind if leveldb dies because of content changed on disk.

mrx23dot avatar Jan 05 '23 15:01 mrx23dot