Skip to content

Commit

Permalink
services/horizon/internal/ingest: Fix total lookup table rows deleted…
Browse files Browse the repository at this point in the history
… metric (#5528)
  • Loading branch information
tamirms authored Nov 13, 2024
1 parent 18a614a commit dd8a9b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/horizon/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ file. This project adheres to [Semantic Versioning](http://semver.org/).

### Fixed
- Fix the issue where the skip-txmeta flag is not being applied in `/transactions/{tx-id}` endpoint ([5523](https://github.com/stellar/go/pull/5523)).
- Fix `horizon_ingest_reap_lookup_tables_duration_seconds` metric which reports the total number of lookup table rows which were reaped ([5528](https://github.com/stellar/go/pull/5528)).

## 22.0.0-rc2

Expand Down
1 change: 1 addition & 0 deletions services/horizon/internal/ingest/reap.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ func (r *lookupTableReaper) deleteOrphanedRows(ctx context.Context) error {
}
deleteDuration := time.Since(deleteStartTime)
totalDeleteDuration += deleteDuration
totalDeleted += rowsDeleted

r.rowsReapedByLookupTable.With(prometheus.Labels{"table": table}).
Observe(float64(rowsDeleted))
Expand Down

0 comments on commit dd8a9b4

Please sign in to comment.