Cardano-db-sync: insertABlock 中的数据库查找失败(erikd/shelley-32byte-address-hash)

创建于 2020-06-14  ·  3评论  ·  资料来源: input-output-hk/cardano-db-sync

[db-sync- node:Info :27] [2020-06-14 09:26:33.59 UTC] 启动 chainSyncClient
[db-sync- node:Info :27] [2020-06-14 09:26:33.64 UTC] Cardano.Db 提示为空(创世)
[db-sync- node:Info :33] [2020-06-14 09:26:33.64 UTC] 运行数据库线程
[db-sync- node:Info :33] [2020-06-14 09:26:33.97 UTC] 雪莱:回滚到插槽 7505,哈希 4f6eac703201587503bc9816e2be69a2c4f2c5e5581390dc5581390d[db-sync- node:Error :33] [2020-06-14 09:26:34.29 UTC] 在 insertABlock 中数据库查找失败:块哈希 4f6eac703201587503bc9816e2be69a2c4f2c5e55460b2182f9
[db-sync- node:Info :33] [2020-06-14 09:26:34.29 UTC] 关闭数据库线程
[数据库同步节点。 Handshake:Info :51] [2020-06-14 09:26:43.44 UTC] [String "Send MsgProposeVersions (fromList [(NodeToClientV_2,TInt 42)])",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress { getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"/home/ubuntu/.piper\"}}"]
[数据库同步节点。 Handshake:Info :51] [2020-06-14 09:26:43.44 UTC] [String "Recv MsgAcceptVersion NodeToClientV_2 (TInt 42)",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\" }, remoteAddress = LocalAddress {getFilePath = \"/home/ubuntu/.piper\"}}"]
[db-sync- node:Info :55] [2020-06-14 09:26:43.44 UTC] 启动 chainSyncClient
[db-sync- node:Info :55] [2020-06-14 09:26:43.52 UTC] Cardano.Db 提示为空(创世)
[db-sync- node:Info :60] [2020-06-14 09:26:43.52 UTC] 运行数据库线程
[db-sync- node:Info :60] [2020-06-14 09:26:43.75 UTC] Shelley:回滚到插槽 7486,哈希 f3e9f26c0beab717b81cc1d934f7d55579de2fbc01ac35b45ac1
[db-sync- node:Error :60] [2020-06-14 09:26:44.78 UTC] 在 insertABlock 中数据库查找失败:块哈希 f3e9f26c0beab717b81cc1d934f7d55579de2fbc01ac7bf41ac4524
[db-sync- node:Info :60] [2020-06-14 09:26:44.78 UTC] 关闭数据库线程
[db-sync- node:Error :63] [2020-06-14 09:26:44.80 UTC] recvMsgRollForward: AsyncCancelled

最有用的评论

这是一项正在进行

让我说清楚。 在具有“wip”或“fixup”提交的分支上提高票是完全浪费时间。

所有3条评论

这是一项正在进行

让我说清楚。 在具有“wip”或“fixup”提交的分支上提高票是完全浪费时间。

@erikd我今天两次遇到这个问题 [0][1],我认为有一个相关的问题:进程的主线程冻结但不会exit >0 ; 例如,我的 docker 容器不会自动重生。

JFTR,我使用的是cardano-db-sync:5.0.1官方 docker 镜像。

[0]

[db-sync-node:Info:3354] [2020-09-26 04:29:44.87 UTC] insertByronBlock: slot 3025000, block 3023467, hash 43b510c9fa0d1021d4efbfb0a07c1e90f40258c05d7d66b266aee4fb9963f678
[db-sync-node:Error:3354] [2020-09-26 04:29:59.56 UTC] DB lookup fail in insertABlock: block hash f8452c44591e3db7d5534ceaaff56922609d81deed45b953e7220601bfd4ec87
[db-sync-node:Info:3354] [2020-09-26 04:29:59.56 UTC] Shutting down DB thread
[db-sync-node:Error:3357] [2020-09-26 04:29:59.56 UTC] recvMsgRollForward: AsyncCancelled
...
FROZEN FOREVER
...

[1]

Generating PGPASS file
Connecting to network: mainnet
[db-sync-node:Info:4] [2020-09-26 09:01:38.91 UTC] NetworkMagic: 764824073
[db-sync-node:Info:4] [2020-09-26 09:02:11.59 UTC] Initial genesis distribution present and correct
[db-sync-node:Info:4] [2020-09-26 09:02:11.59 UTC] Total genesis supply of Ada: 31112484745.000000
[db-sync-node:Info:4] [2020-09-26 09:02:11.69 UTC] Inserting Shelley Genesis distribution
[db-sync-node:Info:4] [2020-09-26 09:02:11.83 UTC] epochPluginOnStartup: Checking
[db-sync-node:Info:4] [2020-09-26 09:02:11.86 UTC] localInitiatorNetworkApplication: connecting to node via "/node-ipc/node.socket"
[db-sync-node.Handshake:Info:30] [2020-09-26 09:02:11.86 UTC] [String "Send MsgProposeVersions (fromList [(NodeToClientV_1,TInt 764824073),(NodeToClientV_2,TInt 764824073),(NodeToClientV_3,TInt 764824073)])",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"/ipc/node.socket\"}}"]
[db-sync-node.Handshake:Info:30] [2020-09-26 09:02:11.87 UTC] [String "Recv MsgAcceptVersion NodeToClientV_3 (TInt 764824073)",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"/ipc/node.socket\"}}"]
[db-sync-node:Info:34] [2020-09-26 09:02:11.87 UTC] Starting chainSyncClient
[db-sync-node:Info:34] [2020-09-26 09:02:13.97 UTC] Cardano.Db tip is at slot 3025325, block 3023792
[db-sync-node:Info:39] [2020-09-26 09:02:13.97 UTC] Running DB thread
[db-sync-node:Info:39] [2020-09-26 09:02:14.45 UTC] Rolling back to slot 3025325, hash f8452c44591e3db7d5534ceaaff56922609d81deed45b953e7220601bfd4ec87
[db-sync-node:Info:39] [2020-09-26 09:02:14.46 UTC] Deleting blocks numbered: []
[db-sync-node:Info:42] [2020-09-26 09:02:14.58 UTC] getHistoryInterpreter: acquired
[db-sync-node:Error:39] [2020-09-26 09:02:42.88 UTC] DB lookup fail in insertABlock: block hash ff6d511e65fb979ac511e8658c20cfe608bdfe7d3e6172f49115e52487812423
[db-sync-node:Info:39] [2020-09-26 09:02:42.88 UTC] Shutting down DB thread
[db-sync-node:Error:42] [2020-09-26 09:02:42.89 UTC] recvMsgRollForward: AsyncCancelled
...
FROZEN FOREVER
...

如果您在5.0.1版本上看到这个,您应该打开一张新票,因为这是针对旧的正在进行中的分支提出的旧问题,

此页面是否有帮助?
0 / 5 - 0 等级