Skip to content

1. 快照

1.1 介绍

Validators operators who have not experienced significant downtime (multiple hours of downtime), should avoid downloading snapshots. It is important for the health of the cluster as well as your validator history to maintain the local ledger. Therefore, you should not download a new snapshot any time your validator is offline or experiences an issue. Downloading a snapshot should only be reserved for occasions when you do not have local state. Prolonged downtime or the first install of a new validator are examples of times when you may not have state locally. In other cases such as restarts for upgrades, a snapshot download should be avoided.(在其他情况下,例如重新启动以进行升级,应避免下载快照)

1.2 使用

为避免在重新启动时下载快照,请将以下标志添加到 solana-validator 命令:

--no-snapshot-fetch
--no-snapshot-fetch

1.3 下载

If you are starting a validator for the first time, or your validator has fallen too far behind after a restart, then you may have to download a snapshot.

官方文档提供的地址已不可取