开源cita 单机意外重启故障

机器由于一些原因直接down掉了,启动后 cita就出现了问题,日志如下:
2020-04-23 - 19:07:53 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc
2020-04-23 - 19:07:54 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc
2020-04-23 - 19:07:55 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc
2020-04-23 - 19:07:56 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc
2020-04-23 - 19:07:57 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc
2020-04-23 - 19:07:58 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc
2020-04-23 - 19:07:59 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc
2020-04-23 - 19:08:00 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0x7198b9ead640ef6dc8382d6688548acb782bf3b38d9ec7a67b03d1c8b6ef6cbc

不出快,请问这种问题如何解决和避免

cita-chain 日志能发一下吗

2020-04-23 - 18:53:58 | cita_chain - 108 | INFO - Version: 20.2.0-d8f65876
2020-04-23 - 18:53:58 | amqp::session - 196 | INFO - Session initialized
2020-04-23 - 18:53:58 | amqp::session - 196 | INFO - Session initialized
2020-04-23 - 18:53:59 | core::libchain::chai - 371 | INFO - chain config: Config { prooftype: 2 }
2020-04-23 - 18:53:59 | core::libchain::chai - 386 | INFO - get chain max_store_height : 576281 current_height: 576280
2020-04-23 - 18:53:59 | core::libchain::chai - 1356 | INFO - new chain status height 576280, hash e16cd1bc5522e8b0e92b7994a4ffa12172b122a84983832ef232c0940added92
2020-04-23 - 18:54:03 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0xfc0291a43187196c9c38a5ec094300a251ca41d92450d633774790e60224c430
2020-04-23 - 18:54:04 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0xfc0291a43187196c9c38a5ec094300a251ca41d92450d633774790e60224c430
2020-04-23 - 18:54:05 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0xfc0291a43187196c9c38a5ec094300a251ca41d92450d633774790e60224c430
2020-04-23 - 18:54:06 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0xfc0291a43187196c9c38a5ec094300a251ca41d92450d633774790e60224c430
2020-04-23 - 18:54:07 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0xfc0291a43187196c9c38a5ec094300a251ca41d92450d633774790e60224c430
2020-04-23 - 18:54:08 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0xfc0291a43187196c9c38a5ec094300a251ca41d92450d633774790e60224c430
2020-04-23 - 18:54:09 | core::libchain::chai - 999 | INFO - Get receipt by hash failed 0xfc0291a43187196c9c38a5ec094300a251ca41d92450d633774790e60224c430

这个日志可以吗

是意外掉电了吗?
可以参考一下 【李先生带你玩 CITA】链数据的高可用杀手

确实是掉电了导致的,请问现在v20版本可以用 cita_recover 这个工具吗

可以的

已经测试完毕 之前的链已经修复

1赞