-
Notifications
You must be signed in to change notification settings - Fork 524
Closed
Labels
Description
Subject of the issue
(As reported by another user) If you run fast catchup, the algod_ledger_round reported by the /metrics endpoint will duplicate stats.
# Before Fast Catchup
$ curl -Ss localhost:8080/metrics | grep -v '#' | grep algod_ledger_round
algod_ledger_round{} 33081
# After Fast Catchup
$ curl -Ss localhost:8080/metrics | grep -v '#' | grep algod_ledger_round
algod_ledger_round{} 33081
algod_ledger_round{} 18310078
$ curl -Ss localhost:8080/metrics | grep -v '#' | grep algod_ledger_round
algod_ledger_round{} 33081
algod_ledger_round{} 18310108
$ curl -Ss localhost:8080/metrics | grep -v '#' | grep algod_ledger_round
algod_ledger_round{} 33081
algod_ledger_round{} 18310142
Your environment
- Software version: 3.2.2
Steps to reproduce
- Start a fresh non-archival node
- Check the /metrics endpoint for
algod_ledger_round - Run fast catchup and complete it
- Check the /metrics endpoint for
algod_ledger_roundand observe two instances.
Expected behaviour
Only the latter metric.
Actual behaviour
Both the former and latter metrics.
A workaround is to restart the algod process.
macunha1