You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/archival/split-storage-archival.md
+5-53Lines changed: 5 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,14 @@ With the 1.35.0 release we are rolling out split storage, a new option for stora
19
19
In split storage mode, the Near Client only works with a smaller hot database to produce blocks, which results in increased performance. Cold database is not accessed for reads during normal block production and is only read when historical data is specifically requested. Thus, we recommend keeping the cold database on cheaper and slower drives such as an HDD and only optimize speed for the hot database, which is about 10 times smaller.
20
20
21
21
Split storage is disabled by default, and can be enabled with a config change and going through a migration process that requires manual steps. We have several choices for the migration:
22
-
* Use Pagoda-provided S3 snapshots of nodes that have split-storge configured.
22
+
* Use snapshots (e.g. FASTNEAR snapshot) of nodes that have split-storge configured.
23
23
* Do a manual migration using S3 snapshots of the existing RPC single database
24
24
* Do a manual migration using your own buddy RPC node
|Pagoda-provided S3 snapshots of split-storage nodes | Fastest. Little to no downtime. | Requires trust in migration performed by Pagoda nodes|
29
-
| Manual migration + S3 RPC snapshots | No need for extra node. Cold storage is initialized in a trustless way. | Requires trust in Pagoda RPC snapshots. The node will be out of sync at the end of the migration and will need to block sync several epochs. Migration takes days and you cannot restart your node during that time. |
28
+
|Snapshots of split-storage nodes | Fastest. Little to no downtime. | Requires trust in Snapshot provider|
29
+
| Manual migration + S3 RPC snapshots | No need for extra node. Cold storage is initialized in a trustless way. | Requires trust in RPC snapshot provider. The node will be out of sync at the end of the migration and will need to block sync several epochs. Migration takes days and you cannot restart your node during that time. |
30
30
| Manual migration + your own node | Trustless. Little to no downtime | Requires an extra RPC node with bigger storage. Migration takes days and you cannot restart your node during that time. |
31
31
32
32
## Important config fields {#config}
@@ -66,57 +66,9 @@ Example:
66
66
}
67
67
```
68
68
69
-
## Using Pagoda-provided S3/CloudFrontsplit-storage snapshots {#S3 migration}
FASTNEAR is now provider of Archival node snapshot. Please refer to their documentation [HERE](https://docs.fastnear.com/docs/snapshots/mainnet#archival-mainnet-snapshot)
120
72
121
73
### If your node is out of sync after restarting from the latest snapshot {#syncing node}
122
74
Downloading the cold database can take a long time (days). In this time your database can become very far behind the chain.
0 commit comments