ice icon indicating copy to clipboard operation
ice copied to clipboard

icegridnode: error: a node with the same name is already active with the replica 'Master'

Open bernardnormier opened this issue 9 months ago • 1 comments

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.

bernardnormier avatar Mar 05 '25 18:03 bernardnormier

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.

pepone avatar May 12 '25 10:05 pepone

Can't reproduce.

bernardnormier avatar Dec 03 '25 22:12 bernardnormier