【问题标题】:Aptos Blockchain Node unable to sync properly after switching to fast sync. What to do?切换到快速同步后,Aptos 区块链节点无法正常同步。该怎么办?
【发布时间】:2022-12-17 00:11:15
【问题描述】:

我们已经运行了 6 天的测试网节点,但遗憾的是该节点无法正常同步。我们在 10 号加入了验证器集,让节点同步到 13 号,之后我们切换到文档中提到的快速同步(https://aptos.dev/nodes/validator-node/operator/connect-to-aptos-network#using-docker),但即使在过去 3 天使用该方法,我们也无法同步适当地。

testnet-vnode-validator-1 | {"level":"ERROR","source":{"package":"crash_handler","file":"crates/crash-handler/src/lib.rs:39"},"thread_name":"sync-driver-5","hostname":"c6149384e385","timestamp":"2022-12-14T23:59:49.040270Z","message":"details = '''panicked at 'Fast syncing is currently unsupported for nodes with existing state! You are currently 181852156 versions behind the latest snapshot version (386913673). Either select a different syncing mode, or delete your storage and restart your node.'

【问题讨论】:

    标签: synchronization blockchain nodes aptos


    【解决方案1】:

    切换到快速同步后,您的节点出现恐慌,因为它仍然具有使用完全同步方法的部分同步状态。

    如此处 (https://aptos.dev/guides/state-sync#fast-syncing) 所述,要快速同步,您需要从一个空数据库开始(即擦除数据库)并重新启动快速同步过程。

    鉴于您想要同步一个没有状态的全新节点,我建议使用其他实体提供的直接数据库快照,例如 BwareLabs:https://bwarelabs.com/snapshots

    您应该能够下载他们的测试网数据库快照并用文件覆盖您的数据库

    【讨论】:

      猜你喜欢
      • 2022-11-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-21
      • 1970-01-01
      • 2019-07-14
      相关资源
      最近更新 更多