New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-panic when newly added ordinary node sync the blocks ## cita进程自动终结 #534
Comments
Please check the cita-op-helper and attach the file. |
迁移过程报错吗? 有没有 |
迁移不是我做的,但是我看结果都是成功运行的。迁移是去年就做了,一直在运行。 |
看日志显示的是,rabitmq没有启动。要先setup。
|
rabbitmq 是在运行的过程中奔溃的, 一直在运行 凌晨1点37 挂的。 |
迁移和升级 可以忽略,这都是之前做的, 这次只是新增了1个节点,再同步块, 然后发现凌晨所有节点都崩溃了,因rabbitmq 挂了,原因不详。 |
Why are there six peers info? and network log of node 4
@leeyr338 Do you have any ideas about these? |
我开始按照0.22.0文档创建了两个节点,setup失败了,然后rm test-chain/4 test-chain/5两个节点; |
这是去拨一个没有启动或不存在的节点,是一个正常的行为。理论上讲这个错误不会引起network自动终结。 |
https://github.com/Antti/rust-amqp/blob/234dbdbd829f18dbf6a612c8fa90a1be322c72fb/src/session.rs#L293
|
经分析
|
这与之前的一个问题: |
这个不是 system time 的问题,不太一样 |
Please add some descriptions about the reason and the solution @KaoImin |
We need to merge this changes into CITA and verify the problem has fixed before close this issue. |
Description
新增一个普通节点,测试块同步的性能,新节点启动后块是一直同步的,日志显示进程在 隔天01:37分崩溃
下面是错误日志:
【2019-04-30T01:37:18.546364357+08:00 - INFO - public block txs height 1618892 with 0 transactions
2019-04-30T01:37:23.111085504+08:00 - INFO - get block tx hashes for height 1618893
2019-04-30T01:37:23.111146491+08:00 - INFO - public block txs height 1618893 with 0 transactions
2019-04-30T01:37:24.189629995+08:00 - ERROR - Error in reading loop: Protocol("Connection reset by peer (os error 104)")
2019-04-30T01:37:24.191299405+08:00 - ERROR - Error dispatching closing packet to a channel
2019-04-30T01:37:24.191327491+08:00 - ERROR - Error consuming Protocol("Connection reset by peer (os error 104)")
2019-04-30T01:37:24.191611845+08:00 - ERROR - Error in reading loop: Protocol("Connection reset by peer (os error 104)")
2019-04-30T01:37:24.191633697+08:00 - ERROR - Error dispatching closing packet to a channel
2019-04-30T01:37:24.750045126+08:00 - INFO - CITA:auth
2019-04-30T01:37:24.750086919+08:00 - INFO - Version: v0.22.0-151-g53de566-dev
2019-04-30T01:37:25.086629431+08:00 - ERROR -
】
【position:
Thread main panicked at failed to open url amqp://guest:guest@localhost/test-chain/0 : IoError(AddrNotAvailable), /opt/.cargo/git/checkouts/cita-common-1aad419f3e80ba17/3ec4e19/pubsub_rabbitmq/src/lib.rs:60
】
Versions
os:Ubuntu 16.04.3 LTS
cita:v0.23.0,日志显示是v0.22.0 实际上是v0.23.0
docker : cita/cita-run:ubuntu-18.04-20190419
Additional Information
[开始运行cita v0.22.0 ,磁盘空间不够,进行了节点目录迁移,再升级到0.23.0版本。添加了一个节点,准备测试块同步性能,最后报错].
The text was updated successfully, but these errors were encountered: