-
Notifications
You must be signed in to change notification settings - Fork 370
Node failing to solidify milestones correctly #1655
Comments
@karimodm and I discussed another issue with solidification within the |
Considering the sorting proposal, we could sort the hashes in AdressViewModel
We would also have to change |
If the above solution is quick and it works, we can do it. |
Bug description
When trying to solidify over wide gaps, there is a possibility that the node will not properly solidify. This can be identified in two ways. Either the node will hang on the same milestone, producing an output as follows:
or the solidifer fails to print a message, at all and the
latestSolidMilestone
remains the same while thelatestMilestone
continues to grow. In the latter instance, it can sometimes mean that there is one milestone in theunsolidMilestonesPool
so no output is printed. In this case it is the same as the former scenario where the same milestone is being requested, and no further milestones are being added to theunsolidMilestonesPool
.When investigating the milestones that were failing to solidify it appeared that some of the transactions were present in the db, but were not marked as milestones due to the other milestone in the bundle not being solid. In other instances the milestone was never found through
transactionValidator.checkSolidity
call. This may be caused by a milestone being left behind/effectively orphaned during large spam events or splitting. In these cases the milestone would not be found when solidifying backwards through the tangle.IRI version
v1.8.2
Hardware Spec
Linux Mint, 8GB 4 cpu 160GB SSD x 2
Steps To Reproduce
Testnet
https://s3.eu-central-1.amazonaws.com/iotaledger-dbfiles/dev/SyncTestDB.tar
and another withhttps://s3.eu-central-1.amazonaws.com/iotaledger-dbfiles/dev/EmptyDB.tar
. Make sure the nodes are already neighbored. For faster syncing add extra solid nodes to the mix.java -jar iri-1.* -p 14265 -t 15600 --zmq-enabled true --zmq-port 5556 --testnet true --testnet-coordinator EFPNKGPCBXXXLIBYFGIGYBYTFFPIOQVNNVVWTTIYZO9NFREQGVGDQQHUUQ9CLWAEMXVDFSSMOTGAHVIBH --testnet-no-coo-validation true --milestone-start 0 --mwm 1 --remote true --remote-limit-api "" --snapshot ./snapshot.txt -n 'your.neighbours.here'
python milestone.py -i 1001
fromhttps://github.com/DyrellC/iri-regression-tests/tree/add-sync-tests/Nightly-Tests/Sync-Tests
to kick-start the solidificationMainnet (Doesn't always happen)
Expected behaviour
Nodes should synchronise properly.
Actual behaviour
Nodes hang on solidifying specific milestones.
The text was updated successfully, but these errors were encountered: