frostfs-node/pkg/local_object_storage/blobovnicza
Leonard Lyubich f73c5c2259 [#791] blobovnicza: Support read-only mode
There is a need to open Blobovnicza instances in read-only mode in some
cases.

Add `ReadOnly` option. Do not create dir path in RO. Open underlying BoltDB
instance with ReadOnly flag. Document thal all writing operations should not
be called in ro (otherwise BoltDB txs fail).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-10-05 10:51:10 +03:00
..
blobovnicza.go [#791] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
blobovnicza_test.go [#789] blobovnicza: Implement iterator 2021-09-15 18:22:09 +03:00
control.go [#791] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
delete.go [#791] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
get.go [#229] blobovnicza: Store objects in a binary format 2020-12-11 17:19:37 +03:00
get_range.go [#643] pkg: Sync method names and commentaries to them 2021-06-24 16:10:44 +03:00
id.go [#216] blobovnicza: Change ID stringer 2020-12-11 17:19:37 +03:00
iterate.go [#791] blobovnicza: Don't iterate over range buckets in Iterate 2021-10-05 10:51:10 +03:00
put.go [#791] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
sizes.go [#615] blobovnicza: Simplify byte size stringer 2021-06-16 12:14:04 +03:00
sizes_test.go [#216] blobovnicza: Implement main methods and logic 2020-12-11 17:19:37 +03:00