Cardano-db-sync: Échec de la recherche de base de données dans insertABlock (erikd/shelley-32byte-address-hash)

Créé le 14 juin 2020  ·  3Commentaires  ·  Source: input-output-hk/cardano-db-sync

[db-sync- node:Info :27] [2020-06-14 09:26:33.59 UTC] Démarrage de chainSyncClient
[db-sync- node:Info :27] [2020-06-14 09:26:33.64 UTC] La pointe Cardano.Db est vide (genèse)
[db-sync- node:Info :33] [2020-06-14 09:26:33.64 UTC] Exécution du thread de base de données
[db-sync- node:Info :33] [2020-06-14 09:26:33.97 UTC] Shelley : Retour en arrière vers l'emplacement 7505, hachage 4f6eac703201587503bc9816e2be69a2c4f2c5e55460b0e830c21219d158fcd9[db-sync- node:Error :33] [2020-06-14 09:26:34.29 UTC] Échec de la recherche de base de données dans insertABlock : hachage de bloc 4f6eac703201587503bc9816e2be69a2c4f2c5e55460b0e830c21219d158fcd9
[db-sync- node:Info :33] [2020-06-14 09:26:34.29 UTC] Arrêt du thread DB
[db-sync-node. Poignée de main: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\"}}"]
[db-sync-node. Poignée de main: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] Démarrage de chainSyncClient
[db-sync- node:Info :55] [2020-06-14 09:26:43.52 UTC] La pointe Cardano.Db est vide (genèse)
[db-sync- node:Info :60] [2020-06-14 09:26:43.52 UTC] Exécution du thread de base de données
[db-sync- node:Info :60] [2020-06-14 09:26:43.75 UTC] Shelley : Retour en arrière vers l'emplacement 7486, hachage f3e9f26c0beab717b81cc1d934f7d55579de2fbc01ac7bf4443d4511ae5290ac
[db-sync- node:Error :60] [2020-06-14 09:26:44.78 UTC] Échec de la recherche de base de données dans insertABlock : hachage de bloc f3e9f26c0beab717b81cc1d934f7d55579de2fbc01ac7bf4443d4511ae5290ac
[db-sync- node:Info :60] [2020-06-14 09:26:44.78 UTC] Arrêt du thread DB
[db-sync- node:Error :63] [2020-06-14 09:26:44.80 UTC] recvMsgRollForward : AsyncCancelled

Commentaire le plus utile

Il s'agit d'un travail en cours . Il n'y a même pas encore de PR. Certains des commentaires des commits sont "fixup" et "wip". Vous construisez et gérez une branche sur laquelle je travaille toujours.

Laisse moi être clair. Générer des tickets sur des branches qui ont des commits « wip » ou « fixup » est une perte de temps totale.

Tous les 3 commentaires

Il s'agit d'un travail en cours . Il n'y a même pas encore de PR. Certains des commentaires des commits sont "fixup" et "wip". Vous construisez et gérez une branche sur laquelle je travaille toujours.

Laisse moi être clair. Générer des tickets sur des branches qui ont des commits « wip » ou « fixup » est une perte de temps totale.

Hey @erikd J'ai été touché par ce problème deux fois aujourd'hui [0][1] et je pense qu'il y a un problème connexe à ce sujet : le thread principal du processus se bloque mais ne exit >0 ; ainsi, par exemple, mon conteneur Docker n'est pas automatiquement réapparu.

JFTR, j'utilise l'image officielle du docker cardano-db-sync:5.0.1 .

[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
...

Si vous voyez cela sur la version 5.0.1 vous devez ouvrir un nouveau ticket car il s'agit d'un ancien problème soulevé contre une ancienne branche de travail en cours,

Cette page vous a été utile?
0 / 5 - 0 notes