hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use the new Statistics class in LearnerThread/LearningSynchronizer

poulok opened this issue · comments

The ReconnectMapStats class already exists which tracks the necessary metrics, but it is not invoked yet so it does not do anything. This ticket is for adding code that need to determine which nodes, and how many, need to be sent to ReconnectMapStats so that the metrics are accurate.

The metrics must be reset at the end of the reconnect so that a subsequent reconnect starts from zero.

The second part is migrated to #14198