forked from TrueCloudLab/frostfs-node
d9f0ac8909
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> |
||
---|---|---|
.. | ||
blobovnicza.go | ||
blobovnicza_test.go | ||
control.go | ||
delete.go | ||
errors.go | ||
get.go | ||
id.go | ||
iterate.go | ||
iterate_test.go | ||
put.go | ||
sizes.go | ||
sizes_test.go |