Node with only autopeers takes no measures when left behind #1078
Labels
c-bug
Category - Bug
e-high
Experience - High
n-all
Network - All
p-medium
Priority - Medium
wg-network
Working Group - Network
Bug description
A Bee node that is connected to the network only through autopeers can get left behind, which means that it missed a particular milestone, and therefore cannot make any progress.
Rust version
rustc 1.58.1 (db9d1b20b 2022-01-20)
Bee version
bee-node 0.3.0-rc3
commit: 662feb8
branch: alex6323/pruning-mitigation-investigation
Hardware specification
Linux bee-3 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
Steps To reproduce the bug
Explain how the maintainer can reproduce the bug.
Expected behaviour
The node realizes that it doesn't make any progress (next milestone is not arriving in a "long" time), drops all of its
current autopeers, and searches for new ones until it can make progress again.
Actual behaviour
The node is left behind, and keeps its current autopeers that cannot help with staying in sync with the network.
The text was updated successfully, but these errors were encountered: