嗨,我正在使用cardan-node1.21.1
运行cardano-db 6.0.0
cardan-node1.21.1
。 突然它无法同步新块并出现这样的错误:
Nov 21 23:05:35 cardano-fork cardano-db6[1971]: [db-sync-node.ErrorPolicy:Error:4] [2020-11-21 23:05:35.51 UTC] [String "ErrorPolicyUnhandledApplicationException Panic! applyHeaderTransition failed: [[NewEpochFailure (EpochFailure (NewPpFailure (UnexpectedDepositPot (Coin 857622000000) (Coin 857626000000))))]]\nCallStack (from HasCallStack):\n error, called at src/Shelley/Spec/Ledger/API/Validation.hs:92:15 in shelley-spec-ledger-0.1.0.0-inplace:Shelley.Spec.Ledger.API.Validation",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"state-node-mainnet/sock\"}"]
Nov 21 23:05:39 cardano-fork cardano-db6[1971]: [db-sync-node.Handshake:Info:81401] [2020-11-21 23:05:39.94 UTC] [String "Send (ClientAgency TokPropose,MsgProposeVersions (fromList [(NodeToClientV_1,TInt 764824073),(NodeToClientV_2,TInt 764824073),(NodeToClientV_3,TInt 764824073)]))",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"state-node-mainnet/sock\"}}"]
Nov 21 23:05:39 cardano-fork cardano-db6[1971]: [db-sync-node.Handshake:Info:81401] [2020-11-21 23:05:39.94 UTC] [String "Recv (ServerAgency TokConfirm,MsgAcceptVersion NodeToClientV_3 (TInt 764824073))",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"state-node-mainnet/sock\"}}"]
这是 #398 的副本。
这是 #398 的副本。
使用标签tmp-fix-6.0.x
应用您的提交,但不幸的是它没有帮助
这是 #398 的副本。
使用标签
tmp-fix-6.0.x
应用您的提交,但不幸的是它没有帮助
这只对尚未受到影响的节点有帮助。 引用评论:
但是,运行此版本可能会检测到已损坏的分类帐状态(我什至不确定它会是什么样子),在这种情况下将需要重新同步。
谢谢提供信息。
那么现在有什么选择可以让索引器工作吗?
那么现在有什么选择可以让索引器工作吗?
对不起,什么? 我什至不明白你在问什么。
在这样的失败之后,你能给我一些建议如何使cardano-db-sync现在工作吗?
谢谢提供信息。
那么现在有什么选择可以让索引器工作吗?
您需要重新同步。
这里的说明: https :
如果你没有在 Docker 中运行它,那么
PGPASSFILE=config/pgpass-mainnet scripts/postgresql-setup.sh --recreatedb
@alexqrid如果您已设法运行固定版本并重新同步您的数据库,请关闭它。
刚刚降级到cardano-db-sync 5.0.3
并从头开始同步。 一切似乎都运行良好。
最有用的评论
这只对尚未受到影响的节点有帮助。 引用评论: