startAsSlave();
tryToEnsureIAmNotABrokenMachine( master );
restarted = true;
}
}
<BUG>}
if ( masterServer != null )
{
broker.rebindMaster();
}</BUG>
if ( restarted )

startAsSlave();
tryToEnsureIAmNotABrokenMachine( master );
restarted = true;
}
}
if ( restarted )
