multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Components that lose a peer connection show as crashed #224

Open LourensVeen opened 1 year ago

LourensVeen commented 1 year ago

If a connection to a peer is lost then the component raises and exception and crashes, which causes the manager to treat it as crashed, even though there's nothing wrong with that component. That can lead to confusion when debugging the problem.

Potential solutions:

There's a potential issue here with accumulator components, which need to catch that exception when receiving on S, then send on O_F and shut down cleanly. Of course, accumulator components don't really exist yet other than in my head.

LourensVeen commented 11 months ago

I've improved this a little bit, but it relies on looking for a string in the error log, which is a hack. It does work though, and it makes your life a lot easier, so we'll take it for now, but this issue remains open.