Skip to content

Duplicate metrics registration on X-Chain #5019

@joshua-kim

Description

@joshua-kim

Caught this on one of our nodes -- as part of this we might need to add more logs to understand why this is happening.

2026-02-17 05:19:04.018 CRIT {
  "level": "fatal",
  "timestamp": "2026-02-17T10:19:04.018Z",
  "logger": "X Chain",
  "caller": "handler/handler.go:335",
  "msg": "shutting down chain",
  "reason": "received an unexpected error",
  "error": "failed registering metric: duplicate metrics collector registration attempted while processing sync message: ancestors from NodeID-HoC4UxP4UuJyda7MZs5jUkZRk8Rfj3pzD"
} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions