Node 5 disconnect/disapear
Node 6 could not send packet. Send a broadcast and receive a response of node 2.
Node 6 have thus a new parent (2) and node 2 think that Node 5 is present.
Node 6 send data (value 29) to Node 2. Node 2 know that 6 is a children.
Node 2 try to send data. Detect that Node 5 is disconnect.
Reset rank and inform children (6).
Node 4 response to Node 6 but no data are send. Thus Node 4 doesn't know that Node 6 is a child.
Node 2 have a response of the Node 3.
Node 2 forward the data with value 29 (from Node 6). Node 3 think that Node 2 is connected to Node 6.
Packet arrived to server. Server response.
Node 3 forward the packet to Node 2.
:warning: Node 2 could not forward packet to 6.
Arrow = parent
Start state
Node 5 disconnect/disapear Node 6 could not send packet. Send a broadcast and receive a response of node 2. Node 6 have thus a new parent (2) and node 2 think that Node 5 is present. Node 6 send data (value 29) to Node 2. Node 2 know that 6 is a children.
Node 2 try to send data. Detect that Node 5 is disconnect. Reset rank and inform children (6).
Node 4 response to Node 6 but no data are send. Thus Node 4 doesn't know that Node 6 is a child. Node 2 have a response of the Node 3. Node 2 forward the data with value 29 (from Node 6). Node 3 think that Node 2 is connected to Node 6.
Packet arrived to server. Server response. Node 3 forward the packet to Node 2. :warning: Node 2 could not forward packet to 6.