frostfs-node/pkg/local_object_storage/blobovnicza
Leonard Lyubich f73c5c2259 [] 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 [] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
blobovnicza_test.go [] blobovnicza: Implement iterator 2021-09-15 18:22:09 +03:00
control.go [] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
delete.go [] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
get.go [] blobovnicza: Store objects in a binary format 2020-12-11 17:19:37 +03:00
get_range.go [] pkg: Sync method names and commentaries to them 2021-06-24 16:10:44 +03:00
id.go [] blobovnicza: Change ID stringer 2020-12-11 17:19:37 +03:00
iterate.go [] blobovnicza: Don't iterate over range buckets in Iterate 2021-10-05 10:51:10 +03:00
put.go [] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
sizes.go [] blobovnicza: Simplify byte size stringer 2021-06-16 12:14:04 +03:00
sizes_test.go [] blobovnicza: Implement main methods and logic 2020-12-11 17:19:37 +03:00