chore(tiered): minor fixes + expose buffer allocation type stats (#3234)

* chore(tiered): minor fixes + expose buffer allocation type stats

fixes small_bins deletion logic

Fixes #3240
---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-06-29 11:42:17 +03:00 committed by GitHub
parent 13169461ef
commit b34d3ba6da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 104 additions and 38 deletions

View file

@ -66,6 +66,8 @@ struct TieredStats {
size_t total_cancels = 0;
size_t total_deletes = 0;
size_t total_defrags = 0;
size_t total_registered_buf_allocs = 0;
size_t total_heap_buf_allocs = 0;
size_t allocated_bytes = 0;
size_t capacity_bytes = 0;