chore(tiering): Update Get, Set, Del (#2897)

* chore(tiering): Update Get, Set and Del


---------

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
Vladislav 2024-04-16 19:20:24 +03:00 committed by GitHub
parent d99b0eda16
commit 4fe00a071e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 182 additions and 47 deletions

View file

@ -153,6 +153,14 @@ struct TieredStats {
TieredStats& operator+=(const TieredStats&);
};
struct TieredStatsV2 {
size_t total_stashes = 0;
size_t total_fetches = 0;
size_t allocated_bytes = 0;
TieredStatsV2& operator+=(const TieredStatsV2&);
};
struct SearchStats {
size_t used_memory = 0;
size_t num_indices = 0;