Node sync time keeps increasing - ver 3.2.1 - Algorand

Node sync time keeps increasing - ver 3.2.1

post by Cryptocurv on Dec 11, 2021

My (non-archival, participant) node was running fine for a couple of days. Then, ‘Sync time’ in ‘goal node status’ has started increasing. I did various troubleshooting as follows but the same problem is still there. Can someone help me?

[/var/lib/algorand]$ goal -v

12885032961

3.2.1.stable [rel/stable] (commit #b6cbbf34)

go-algorand is licensed with AGPLv3.0

source code available at [GitHub - algorand/go-algorand: Algorand's official implementation in Go.](https://github.com/algorand/go-algorand)
[/var/lib/algorand]$ goal node status

Last committed block: 17952864

Time since last block: 2.8s

Sync Time: 2689.5s

Last consensus protocol: [GitHub - algorandfoundation/specs at bc36005dbd776e6d1eaf0c560619bb183215645c](https://github.com/algorandfoundation/specs/tree/bc36005dbd776e6d1eaf0c560619bb183215645c)

Next consensus protocol: [GitHub - algorandfoundation/specs at bc36005dbd776e6d1eaf0c560619bb183215645c](https://github.com/algorandfoundation/specs/tree/bc36005dbd776e6d1eaf0c560619bb183215645c)

Round for next consensus protocol: 17952865

Next consensus protocol supported: true

Last Catchpoint:

Genesis ID: mainnet-v1.0

Genesis hash: wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=

post by Ben on Dec 11, 2021

Hi Cryptocurv,

This is due to a (benign) bug in the catchup logic. It should not affect the actual catchup or agreement. Regardless, it has been fixed and V3.2.2 has been prepared and I expect it to go to BetaNet Monday with a stable release coming another 48 hours later.

post by Cryptocurv on Dec 11, 2021

Hi Ben,

What would you recommend to check if my node is participating without an issue?

For example, is there a way to know if my node is misbehaving or not with regard to being ‘dishonest’ or ‘penalized’? When the issue started, I noticed a bunch of pending txns on my node - goal node pendingtxns.

Thanks!

post by Ben on Dec 11, 2021

You can look through the logs to see that it's keeping up to date and processing transactions correctly.

The node is definitely not being dishonest, though it may be attempting to request block more frequently than it needs to.

There is no concept of penalization besides the possibility of being ranked lower on a peer list by another node if your node is slow to return blocks.

post by Cryptocurv on Dec 11, 2021

Got it.

Thanks bunches, Ben!

post by scholtz on Dec 11, 2021

Hi Ben,

I’ve got the same issue…

i've got the same issue… in logs everything seems ok

The result I see is just dramatic drop in traffic and connections.

But the nodes seem to be synchronized and show the correct block even little before the algoexplorer with watch goal node status.

post by Cryptocurv on Dec 11, 2021

Hi Scholtz,

Is your node a participant node? If so, is your pending txns increasing?

post by scholtz on Dec 11, 2021

It is an archival relay node.

Pending txns do not increase.

post by Ben on Dec 11, 2021

Can you quantify dramatic drop?

The bug in question should only affect the node's recognition that catchup is completed. The effect is that the sync counter keeps increasing and it requests more blocks than it needs to.

post by scholtz on Dec 12, 2021

Perhaps it's just because I restarted it in 2 months… Also for a few minutes it was probably not synchronized.

Btw, this is my kubernetes setup AlgorandNodes/statefulset.yaml at main · scholtz/AlgorandNodes · GitHub

post by fabrice on Dec 13, 2021

Small remark: since your node is apparently not a relay, it should be not ranked. As @Ben explained, participation nodes are currently not penalized. However, it is very important for the network that participation nodes work properly.

You can either check the logs or use AlertHub ( Metrika AlertHub) to monitor your node.

post by Cryptocurv on Dec 13, 2021

Hi Fabrice,

My node has been recovered and is working. Yes, I’m using AlertHub to monitor my account and voting status. Things look good there.

Thanks

post by tsachi on Dec 15, 2021

The above issue was addressed in

post by scholtz on Dec 16, 2021

i have upgraded today to 3.2.2 and everything seems to work perfectly…