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 | ||
blobstor | ||
engine | ||
internal/log | ||
metabase | ||
shard | ||
util | ||
writecache |