algorand / go-algorand

Algorand's official implementation in Go.
https://developer.algorand.org/
Other
1.36k stars 473 forks source link

Catchup over P2P stops intermittently #6152

Open onetechnical opened 1 month ago

onetechnical commented 1 month ago

Subject of the issue

If a node is configured as pure P2P (e.g. "EnableP2P": true and "EnableDHTProviders": true) then normal catchup will advance a several hundred rounds, then pause for a few seconds. Fast catchup works as expected. However, once fast catchup completes, the same behavior is observed for regular catchup until caught up.

Your environment

Steps to reproduce

  1. Use above config settings to set up a P2P node
  2. Start a regular catchup

Expected behaviour

Normal speed catchup, without pauses

Actual behaviour

As above - proceed several hundred rounds, then pause for a few seconds, over and over.

urtho commented 1 month ago

IMHO this might be the same as #6054

onetechnical commented 1 month ago

IMHO this might be the same as #6054

This might be - I'll have to experiment with it.

Incidentally, I don't see the same issue with TestNet.