Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Newer versions of Parity stop sync when chain has old incompatible features #11133

@stone212

Description

@stone212

On a private PoW blockchain that stopped syncing when I upgraded to Parity 2.4.x (see #10617) I downgraded to 2.3.9 and did db kill and this created these errors when re-syncing:

#11098
#11130
#11132

After looking at many release notes and making a time-line of these issues and our transactions I thought that the problem could be that newer versions of Parity with certain changes (for example: raising the gas floor limit) had errors when older blocks (before these changes) came to it.

This only happened on nodes with warp sync turned off.

So my theory made me install Parity 1.11.1 and re-sync the node. It worked and the other sync errors did not happen.

If my theory is correct then this answers thee issues listed above.

The real Issue is that Parity stops syncing in these cases. There must be an error message, but (I think?) it has to be necessary that when you create a new node with a most recent version of Parity it can sync the chain from the beginning and not stop.

List of EIP in the chain spec:

		"eip161dTransition": 0,
		"eip211Transition": 0,
		"eip214Transition": 0,
		"eip658Transition": "352300",
		"eip1283Transition": "352300",
		"eip145Transition": "1115000",
		"eip1052Transition": "1115000",
		"eip1014Transition": "1115000",

I theorize the combination of this list and the private PoW blockchain make this a unique situation that exposes this Issue where Parity stops syncing but really should sync.

EDIT: Very important detail is that this problem only exists on nodes that have these features in the chain spec:

[footprint]
tracing = "on"
fat_db = "on"
pruning = "archive"

I'm not sure which one is the important one but I think it might be that warp sync ignores errors or does not even see them so it does not stop sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions