Closed StephenButtolph closed 3 months ago
Avalanchego will incorrectly report that the beacon nodes are unreachable when running a node with reduced performance.
https://github.com/ava-labs/avalanchego/blob/41e46d1178116eb7421fe2adbf2eaa7ef97b0f8b/node/node.go#L622-L625
This issue is able to be replicated consistently on nodes with high performance by extending the time to initialize the platformvm.
platformvm
For example, modifying https://github.com/ava-labs/avalanchego/blob/41e46d1178116eb7421fe2adbf2eaa7ef97b0f8b/vms/platformvm/vm.go#L108. To:
+ time.Sleep(time.Minute) + chainCtx.Log.Verbo("initializing platform chain")
Avalanchego will incorrectly report that the beacon nodes are unreachable when running a node with reduced performance.
https://github.com/ava-labs/avalanchego/blob/41e46d1178116eb7421fe2adbf2eaa7ef97b0f8b/node/node.go#L622-L625
This issue is able to be replicated consistently on nodes with high performance by extending the time to initialize the
platformvm
.For example, modifying https://github.com/ava-labs/avalanchego/blob/41e46d1178116eb7421fe2adbf2eaa7ef97b0f8b/vms/platformvm/vm.go#L108. To: