Skip to content

Commit

Permalink
core/rawdb: freeze's read meter not updated
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa committed Mar 22, 2023
1 parent b3f43c8 commit 4832e36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/rawdb/freezer_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,10 @@ func (t *freezerTable) retrieveItems(start, count, maxBytes uint64) ([]byte, []i
break
}
}

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

Expand Down

0 comments on commit 4832e36

Please sign in to comment.