mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
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:
parent
d99b0eda16
commit
4fe00a071e
16 changed files with 182 additions and 47 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue