forked from MinaProtocol/docs2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
562 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: Archive Migration | ||
sidebar_label: Archive Migration | ||
hide_title: true | ||
description: Berkeley upgrade is a major upgrade that requires all nodes in a network to upgrade to a newer version. It is not backward compatible. | ||
keywords: | ||
- Berkeley | ||
- upgrade | ||
- archive migration | ||
- mina archive node | ||
- archive node | ||
--- | ||
|
||
# Archive Migration | ||
|
||
The Berkeley upgrade is a major upgrade that requires all nodes in a network to upgrade to a newer version. It is not backward compatible. | ||
|
||
A major upgrade occurs when there are major changes to the core protocol that require all nodes on the network to update to the latest software. | ||
|
||
## How to prepare for the Berkeley upgrade | ||
|
||
The Berkeley upgrade requires upgrading all nodes, including archive nodes. One of the required steps is to migrate archive databases from the current Mainnet format to Berkeley. This migration requires actions and efforts from node operators and exchanges. | ||
|
||
Learn about the archive data migration: | ||
|
||
- [Understanding the migration process](/berkeley-upgrade/archive-migration/understanding-archive-migration) | ||
- [Prerequisites before migration](/berkeley-upgrade/archive-migration/archive-migration-prerequisites) | ||
- [Suggested installation procedure](/berkeley-upgrade/archive-migration/archive-migration-installation) | ||
- [How to perform archive migration](/berkeley-upgrade/archive-migration/migrating-archive-database-to-berkeley) | ||
|
||
Finally, see the shell script example that is compatible with a stock Debian 11 container: | ||
|
||
- [Worked example using March 22 data](/berkeley-upgrade/archive-migration/worked-archive-example) | ||
|
||
## What will happen with original Devnet/Mainnet data | ||
|
||
After the migration, you will have two databases: | ||
|
||
- The original Devnet/Mainnet database with small data adjustments (all pending blocks from last canoncial block until the fork block are converted to canoncial blocks) | ||
- A new Berkeley database based on Devnet/Mainnet data, but: | ||
- Without Devnet/Mainnet orphaned blocks | ||
- Without pending blocks that are not in the canonical chain | ||
- With all pending blocks on the canonical chain converted to canonical blocks | ||
|
||
There is no requirement to preserve the original Devnet/Mainnet database after migration. However, if for some reason you want to keep the Mainnet orphaned or non-canonical pending blocks, you can download the archive maintenance package for the Devnet/Mainnet database. | ||
|
||
To learn about maintaining archive data, see [Devnet/Mainnet database maintenance](/berkeley-upgrade/archive-migration/mainnet-database-maintenance). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.