Node should not corrupt its state on exit #5050
Labels
A-chain
Area: Chain, client & related
C-incident
Category: issues that are related to or have caused some incident
C-partner-request
Category: feature requests from partners
Node
Node team
P-high
Priority: High
T-node
Team: issues relevant to the node experience team
Describe the bug
We received 3 reports today that our partner Indexer nodes got corrupted after node was aborted with
nearcore/chain/client/src/client.rs
Lines 1032 to 1034 in 0c9ad79
After they recompiled the node with the newer nearcore, they could not boot the node back again:
To Reproduce
Probably, you need to let the node that does not support newer protocol version to run over the protocol upgrade, so it hits the condition.
Expected behavior
nearcore should not corrupt its database and should be able to boot fine after this abort.
Version (please complete the following information):
The text was updated successfully, but these errors were encountered: