You are viewing a single comment's thread:

RE: Fixing Data Integrity Issues in Hive-Engine Nodes

Full node or light node?

0.00000000 BEE
2 comments

Light node.

Lot of logs, but here is one example:

586_687 Jun 15 14:34:11 mina systemd[1870]: Started engine.service - Hive Engine Service.
586_688 Jun 15 14:34:30 mina node[2200]: (node:2200) [MONGODB DRIVER] DeprecationWarning: Db.collection option [strict] is deprecat>
586_689 Jun 15 14:34:30 mina node[2200]: (Use `node --trace-deprecation ...` to show where the warning was created)
586_690 Jun 15 14:34:31 mina node[2200]: /home/thecrazygm/github/hivesmartcontracts/node_modules/mongodb/lib/core/error.js:59
586_691 Jun 15 14:34:31 mina node[2200]:     return new MongoError(options);
586_692 Jun 15 14:34:31 mina node[2200]:            ^
586_693 Jun 15 14:34:31 mina node[2200]: MongoError: E11000 duplicate key error collection: hsc.sequences index: _id_ dup key: { _i>
586_694 Jun 15 14:34:31 mina node[2200]:     at MongoError.create (/home/thecrazygm/github/hivesmartcontracts/node_modules/mongodb/>
586_695 Jun 15 14:34:31 mina node[2200]:     at toError (/home/thecrazygm/github/hivesmartcontracts/node_modules/mongodb/lib/utils.>
586_696 Jun 15 14:34:31 mina node[2200]:     at /home/thecrazygm/github/hivesmartcontracts/node_modules/mongodb/lib/operations/comm>
586_697 Jun 15 14:34:31 mina node[2200]:     at handler (/home/thecrazygm/github/hivesmartcontracts/node_modules/mongodb/lib/core/s>
586_698 Jun 15 14:34:31 mina node[2200]:     at /home/thecrazygm/github/hivesmartcontracts/node_modules/mongodb/lib/cmap/connection>
586_699 Jun 15 14:34:31 mina node[2200]:     at handleOperationResult (/home/thecrazygm/github/hivesmartcontracts/node_modules/mong>
586_700 Jun 15 14:34:31 mina node[2200]:     at MessageStream.messageHandler (/home/thecrazygm/github/hivesmartcontracts/node_modul>
586_701 Jun 15 14:34:31 mina node[2200]:     at MessageStream.emit (node:events:519:28)
586_702 Jun 15 14:34:31 mina node[2200]:     at processIncomingData (/home/thecrazygm/github/hivesmartcontracts/node_modules/mongod>
586_703 Jun 15 14:34:31 mina node[2200]:     at MessageStream._write (/home/thecrazygm/github/hivesmartcontracts/node_modules/mongo>
586_704 Jun 15 14:34:31 mina node[2200]:   driver: true,
586_705 Jun 15 14:34:31 mina node[2200]:   index: 0,
586_706 Jun 15 14:34:31 mina node[2200]:   code: 11000,
586_707 Jun 15 14:34:31 mina node[2200]:   keyPattern: { _id: 1 },
586_708 Jun 15 14:34:31 mina node[2200]:   keyValue: { _id: 'chain' }
586_709 Jun 15 14:34:31 mina node[2200]: }
586_710 Jun 15 14:34:31 mina node[2200]: Node.js v22.22.3
586_711 Jun 15 14:34:31 mina systemd[1870]: engine.service: Main process exited, code=exited, status=1/FAILURE
586_712 Jun 15 14:34:31 mina systemd[1870]: engine.service: Failed with result 'exit-code'.```
0.03944670 BEE

here is a different one:

1_689_118 Jun 25 07:50:03 mina node[3626163]: 2026-06-25 07:50:03 info: [JsonRPCServer] successfully initialized
1_689_119 Jun 25 07:50:03 mina node[3626163]: RPC Node now listening on port 5000
1_689_120 Jun 25 07:50:03 mina node[3626163]: 2026-06-25 07:50:03 error: [Blockchain] MongoError: Transaction with { txnNumber: 1 }>
1_689_121 Jun 25 07:50:03 mina node[3626163]:     at MessageStream.messageHandler (/home/thecrazygm/github/hivesmartcontracts/node_>
1_689_122 Jun 25 07:50:03 mina node[3626163]:     at MessageStream.emit (node:events:519:28)
1_689_123 Jun 25 07:50:03 mina node[3626163]:     at processIncomingData (/home/thecrazygm/github/hivesmartcontracts/node_modules/m>
1_689_124 Jun 25 07:50:03 mina node[3626163]:     at MessageStream._write (/home/thecrazygm/github/hivesmartcontracts/node_modules/>
1_689_125 Jun 25 07:50:03 mina node[3626163]:     at writeOrBuffer (node:internal/streams/writable:572:12)
1_689_126 Jun 25 07:50:03 mina node[3626163]:     at _write (node:internal/streams/writable:501:10)
1_689_127 Jun 25 07:50:03 mina node[3626163]:     at Writable.write (node:internal/streams/writable:510:10)
1_689_128 Jun 25 07:50:03 mina node[3626163]:     at Socket.ondata (node:internal/streams/readable:1009:22)
1_689_129 Jun 25 07:50:03 mina node[3626163]:     at Socket.emit (node:events:519:28)
1_689_130 Jun 25 07:50:03 mina node[3626163]:     at addChunk (node:internal/streams/readable:561:12) {
1_689_131 Jun 25 07:50:03 mina node[3626163]:   ok: 0,
1_689_132 Jun 25 07:50:03 mina node[3626163]:   code: 251,
1_689_133 Jun 25 07:50:03 mina node[3626163]:   codeName: 'NoSuchTransaction',
1_689_134 Jun 25 07:50:03 mina node[3626163]:   '$clusterTime': {
1_689_135 Jun 25 07:50:03 mina node[3626163]:     clusterTime: Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1782388202 },
1_689_136 Jun 25 07:50:03 mina node[3626163]:     signature: { hash: [Binary], keyId: 0 }
1_689_137 Jun 25 07:50:03 mina node[3626163]:   },
1_689_138 Jun 25 07:50:03 mina node[3626163]:   operationTime: Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1782388202 },
1_689_139 Jun 25 07:50:03 mina node[3626163]:   [Symbol(errorLabels)]: Set(1) { 'TransientTransactionError' }
1_689_140 Jun 25 07:50:03 mina node[3626163]: }
1_689_141 Jun 25 07:50:03 mina node[3626163]: 2026-06-25 07:50:03 error: [Blockchain] Error: Error while procesing block
1_689_142 Jun 25 07:50:03 mina node[3626163]:     at /home/thecrazygm/github/hivesmartcontracts/plugins/Blockchain.js:154:17
1_689_143 Jun 25 07:50:03 mina node[3626163]:     at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
1_689_144 Jun 25 07:50:03 mina node[3626163]:     at async producePendingTransactions (/home/thecrazygm/github/hivesmartcontracts/p>
1_689_145 Jun 25 07:50:03 mina node[3626163]:     at async produceNewBlockSync (/home/thecrazygm/github/hivesmartcontracts/plugins/>
1_689_146 Jun 25 07:50:03 mina node[3626163]: 2026-06-25 07:50:03 error: [Blockchain] node:internal/process/promises:394
1_689_147 Jun 25 07:50:03 mina node[3626163]:     triggerUncaughtException(err, true /* fromPromise */);
1_689_148 Jun 25 07:50:03 mina node[3626163]:     ^
1_689_149 Jun 25 07:50:03 mina node[3626163]: Error: Error while procesing block
1_689_150 Jun 25 07:50:03 mina node[3626163]:     at /home/thecrazygm/github/hivesmartcontracts/plugins/Blockchain.js:154:17
1_689_151 Jun 25 07:50:03 mina node[3626163]:     at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
1_689_152 Jun 25 07:50:03 mina node[3626163]:     at async producePendingTransactions (/home/thecrazygm/github/hivesmartcontracts/p>
1_689_153 Jun 25 07:50:03 mina node[3626163]:     at async produceNewBlockSync (/home/thecrazygm/github/hivesmartcontracts/plugins/>
1_689_154 Jun 25 07:50:03 mina node[3626163]: Node.js v22.22.3
1_689_155 Jun 25 07:50:04 mina node[3626163]: 2026-06-25 07:50:04 error: [LightNode] (node:3626448) [MONGODB DRIVER] DeprecationWar>
1_689_156 Jun 25 07:50:04 mina node[3626163]: (Use `node --trace-deprecation ...` to show where the warning was created)
1_689_157 Jun 25 07:50:04 mina node[3626163]: 2026-06-25 07:50:04 info: [LightNode] successfully initialized```
0.00000000 BEE