-
Notifications
You must be signed in to change notification settings - Fork 116
Node crash due to failed rollback in Hybrid #191
Comments
@dkaidalov , I have recently executed a few nodes (see #152), and I didn't experience this behaviour. Could you tell us in more detail what you did to see this error? |
This error related to HBoxState, not history. @dkaidalov could you provide more details? I'm trying to reproduce. |
Indeed, the error is raised in HBoxStoredState, but its reason coming from the non-properly implemented HybridHistory::bestForkChanges The main problem is that This is my understanding of the problem, but I could mislead something. I catch this error very often. Two or more nodes are needed. It raises all the time if block generation is fast. I have 10s block interval.
Note that I decreased PoS initial difficulty to speed up block generation |
@Daron666 actually I was able to reproduce this crash without any changes in configs and with clean master branch (I run 3 nodes)
To facilitate reproduction you can:
|
@dkaidalov I guess I've fixed it, test please |
@kushti Subjectively it becomes a bit more stable, but the same errors are still reproducible |
…g blocks into ProgressInfo)
There is a problem happening all the time to me if I run 2 or more nodes. A node may crash with the following exception:
So actually at some moment a node isn't able to do a rollback. A brief look at the issue brought me to this function source code link which, as I can see, isn't fully implemented. It is probably the cause of the crashes (not fully sure though).
Are you also having this problem? Are you going to fix it anytime soon?
The text was updated successfully, but these errors were encountered: