Home Help Center

Let it die

skosenkoskosenko Member Sergey KosenkoOrganization: Credit SuisseProject: POC
Hi,

If I start icegridnode with the name that is already taken it hang around and puts
...
09/22/09 11:26:04.088 icegridnode: error: a node with the same name is already active with the replica `Master'
09/22/09 11:26:19.093 icegridnode: error: a node with the same name is already active with the replica `Master'

...
in the node err log every 15 secs.
Is it possible to let it die on this kind of error?

Thanks,
Sergei Kosenko

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    At present it's not possible but yes this is something we could consider adding. In theory, it should only occur if you run two nodes with the same name at the same time, is this what is happening here? Any reasons why you can't easily prevent this? Could you please also specify the Ice and operating system versions you're using?

    Cheers,
    Benoit.
  • skosenkoskosenko Member Sergey KosenkoOrganization: Credit SuisseProject: POC
    Yes, this is exactly what is happening, and its not an Ice but rather our support problem. And it's Ice 3.3.1 on SuSE 10.1. Not a big deal though.
    I might just try to comment out
    catch(const NodeActiveException& ex)
    {
    ...
    }

    in ./cpp/src/IceGrid/NodeSessionManager.cpp

    Thanks,
    Sergei Kosenko
Sign In or Register to comment.