icegridnode: error: a node with the same name is already active with the replica 'Master'
I got this error in the icegridnode log (console) after waking up my computer from sleep (for a demo with just one icegridregistry and one icegridnode).
It's not easy to reproduce. However, it sounds like a bug in the icegridnode -> registry session maintenance.
Not clear if this is a bug, it would be good to see the Node logs for when this happen.
The Node should have log the session lost before trying to reconnect it:
https://github.com/zeroc-ice/ice/blob/b2e8aaaffd8ac672d400f6470f72dc759556e40f/cpp/src/IceGrid/NodeSessionManager.cpp#L214-L238
Couldn't the keepAlive throw a local exception if it was being send while the computer went to sleep? For example a TimeoutException thrown when it wake-up.
Can't reproduce.