mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-01 21:00:38 +00:00
fix: partition tree metric should the delta (#7307)
Signed-off-by: evenyag <realevenyag@gmail.com>
This commit is contained in:
@@ -103,7 +103,7 @@ impl KeyDictBuilder {
|
||||
self.key_bytes_in_index += full_primary_key.len() + sparse_key_len;
|
||||
|
||||
// Adds key size of index to the metrics.
|
||||
MEMTABLE_DICT_BYTES.add(self.key_bytes_in_index as i64);
|
||||
MEMTABLE_DICT_BYTES.add((full_primary_key.len() + sparse_key_len) as i64);
|
||||
|
||||
pk_index
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user