// no recorded local node id, generating a new one and saving it
id = generate();
logger.info("No saved local node id, using newly generated: {}", id);
SystemTable.writeCurrentLocalNodeId(null, id, FBUtilities.timestampMicros());
current = new AtomicReference<NodeId>(id);
olds = new CopyOnWriteArrayList();
}
else
{
logger.info("Saved local node id: {}", id);
current = new AtomicReference<NodeId>(id);
olds = new CopyOnWriteArrayList(SystemTable.getOldLocalNodeIds());
}
}