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

Determine if inter-node communication state needs to be stored #51

Closed raokrutarth closed 4 years ago

raokrutarth commented 4 years ago

this question is: if one node said X and another node said Y, but a crash occurred before the node exchange was completed (e.g. message W was not sent by node 1), do the nodes need to log the messages they have already sent?

chuanqichen commented 4 years ago

this question is: if one node said X and another node said Y, but a crash occurred before the node exchange was completed (e.g. message W was not sent by node 1), do the nodes need to log the messages they have already sent?

@raokrutarth @nishantrai18 @AndrejSafundzic In the real world situation, when one Node X (plant) sends out a batch of product to another Node (plant) Y through a transportation operation (we can simulate the duration for example 5 minutes), in between if Node (Plant) Y crashes, then where does the product go? Go back to Node X, right?

It seems that we can have this as enhancement feature to save inter-node communication state. What do you think?

raokrutarth commented 4 years ago

answer: node level logging is going to take care of logging the stage of item transition.