frostfs-node/pkg/local_object_storage/blobovnicza
Evgenii Stratonikov d9f0ac8909 [#1463] blobovnicza: Determine db size via os.Stat
Currently we use `(*bbolt.Bucket).Stats().KeyN` for estimating database
size. However, it iterates over all pages in bucket and thus heavily
depends on the bucket size. This commit replaces initial size estimation
with a single `os.Stat` call.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-06-03 13:42:54 +03:00
..
blobovnicza.go [#1320] English Check 2022-05-11 10:40:02 +03:00
blobovnicza_test.go [#1418] blobovnicza: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
control.go [#1463] blobovnicza: Determine db size via os.Stat 2022-06-03 13:42:54 +03:00
delete.go [#1418] blobstor: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
errors.go [#1320] English Check 2022-05-11 10:40:02 +03:00
get.go [#1418] blobovnicza: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
id.go [#1320] English Check 2022-05-11 10:40:02 +03:00
iterate.go [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
iterate_test.go [#1418] blobovnicza: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
put.go [#1418] blobovnicza: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
sizes.go [#1094] blobovnicza: calculate size in Init properly 2022-01-31 12:36:40 +03:00
sizes_test.go [#216] blobovnicza: Implement main methods and logic 2020-12-11 17:19:37 +03:00