writecache: Fix metrics and bolt delete #571

Merged
fyrchik merged 1 commit from dstepanov-yadro/frostfs-node:fix/wc_metrics into master 2023-08-07 12:53:29 +00:00

1 commit

Author SHA1 Message Date
44e92f06e0 [#563] writecache: Fix metrics and bolt delete
Some checks failed
Tests and linters / Lint (pull_request) Failing after 3s
Tests and linters / Tests (1.20) (pull_request) Failing after 3s
Tests and linters / Tests with -race (pull_request) Failing after 3s
Vulncheck / Vulncheck (pull_request) Failing after 2s
Build / Build Components (1.19) (pull_request) Failing after 4s
Build / Build Components (1.20) (pull_request) Failing after 3s
Tests and linters / Tests (1.19) (pull_request) Successful in 12m37s
Tests and linters / Staticcheck (pull_request) Successful in 14m29s
Estimate cache size after delete objects to update metric.
Update counters on small object deletion.
Do not count bbolt DB file as FSTree object.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-08-07 13:31:56 +03:00