Skip to content

Commit

Permalink
Revert "core/rawdb: no need to update size gauge"
Browse files Browse the repository at this point in the history
This reverts commit a4b03d9.

Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa committed Mar 23, 2023
1 parent a4b03d9 commit ff5f673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/rawdb/freezer_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,7 @@ func (t *freezerTable) retrieveItems(start, count, maxBytes uint64) ([]byte, []i
}

// Update metrics.
t.sizeGauge.Inc(int64(totalSize))
t.readMeter.Mark(int64(totalSize))
return output[:outputSize], sizes, nil
}
Expand Down

0 comments on commit ff5f673

Please sign in to comment.