raokrutarth / manufacturing-os

A POC distributed operating system for geo-seperated automotive manufacturing
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Dead node notification even when --failure_rate 0 --recover_rate 0 #138

Open chuanqichen opened 4 years ago

chuanqichen commented 4 years ago

(cs244b) Chuanqis-iMac:src chuanqi$ main.py --num_types 5 --nodes_per_type 3 --failure_rate 0 --recover_rate 0 | grep -e "death" -bash: main.py: command not found (cs244b) Chuanqis-iMac:src chuanqi$ pythonw main.py --num_types 5 --nodes_per_type 3 --failure_rate 0 --recover_rate 0 | grep -e "death" INFO 00:12:41 heartbeat-2 threads.py:136::send_message_for_dead_nodes | Node 2 informing leader of death InformLeaderOfDeathReq(from:2, to:4, dead_node:3) WARNING 00:12:41 subscriber-4 messages.py:501::on_inform_death_req | Received Death information request from 2 INFO 00:12:42 heartbeat-3 threads.py:136::send_message_for_dead_nodes | Node 3 informing leader of death InformLeaderOfDeathReq(from:3, to:4, dead_node:2) WARNING 00:12:42 subscriber-4 messages.py:501::on_inform_death_req | Received Death information request from 3 INFO 00:12:42 heartbeat-1 threads.py:136::send_message_for_dead_nodes | Node 1 informing leader of death InformLeaderOfDeathReq(from:1, to:4, dead_node:2) INFO 00:12:42 heartbeat-2 threads.py:136::send_message_for_dead_nodes | Node 2 informing leader of death InformLeaderOfDeathReq(from:2, to:4, dead_node:0) INFO 00:12:42 heartbeat-2 threads.py:136::send_message_for_dead_nodes | Node 2 informing leader of death InformLeaderOfDeathReq(from:2, to:4, dead_node:1) INFO 00:12:42 heartbeat-2 threads.py:136::send_message_for_dead_nodes | Node 2 informing leader of death InformLeaderOfDeathReq(from:2, to:4, dead_node:3) INFO 00:12:42 heartbeat-2 threads.py:136::send_message_for_dead_nodes | Node 2 informing leader of death InformLeaderOfDeathReq(from:2, to:4, dead_node:4)