Skip to content

Commit ff5f673

Browse files
committed
Revert "core/rawdb: no need to update size gauge"
This reverts commit a4b03d9. Signed-off-by: jsvisa <delweng@gmail.com>
1 parent a4b03d9 commit ff5f673

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/rawdb/freezer_table.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,7 @@ func (t *freezerTable) retrieveItems(start, count, maxBytes uint64) ([]byte, []i
825825
}
826826

827827
// Update metrics.
828+
t.sizeGauge.Inc(int64(totalSize))
828829
t.readMeter.Mark(int64(totalSize))
829830
return output[:outputSize], sizes, nil
830831
}

0 commit comments

Comments
 (0)