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> |
||
---|---|---|
.. | ||
core | ||
innerring | ||
local_object_storage | ||
metrics | ||
morph | ||
network | ||
services | ||
util |