-
Notifications
You must be signed in to change notification settings - Fork 780
Closed
Labels
P:storage-optimizationPriority: Give operators greater control over storage and storage optimizationPriority: Give operators greater control over storage and storage optimization
Milestone
Description
The work done in PR#1017 will remove the genesis file from the database. We need to ensure that a node, upgrading to a version of CometBFT with this change can smoothly do so and retrieve the file from the new location. This should be automatic.
Additionally, we should delete the file from the database if it was persisted in a previous version. This operation needs to be automatically performed on boot. If we detect the genesis file in the database, we delete it and output a warning message to the operator that this information is no longer there.
Note This can be merged only once we merge the PR removing the genesis file from the DB.
DoD:
- Node boot up code is altered to check for the existence of the genesis file and deleting it
- Unit tests exist to test this behaviour.
- Changelog entry
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P:storage-optimizationPriority: Give operators greater control over storage and storage optimizationPriority: Give operators greater control over storage and storage optimization