What is “Unclean Shutdown”

An “unclean shutdown” in Geth (Go Ethereum) occurs when the Ethereum node does not close gracefully. This means Geth did not properly finish its processes, including writing necessary data to disk, updating the database state, or performing cleanup tasks.

Data loss from an unclean shutdown in Geth primarily affects the blockchain database and associated structures.

Here’s a detailed breakdown of the specific types of data that can be lost or corrupted:

Chain Data

Transaction Pool

State Data

Snapshot Data (if snapshot syncing is enabled)

Ancient Data (if stored separately)