| | |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2016 ForgeRock AS. |
| | | * Portions Copyright 2026 3A Systems, LLC |
| | | */ |
| | | package org.opends.server.replication.server; |
| | | |
| | |
| | | { |
| | | // initializations |
| | | localGenerationId = -1; |
| | | oldGenerationId = -100; |
| | | |
| | | // processes the ServerStart message received |
| | | boolean sessionInitiatorSSLEncryption = |
| | |
| | | lockDomainNoTimeout(); |
| | | |
| | | localGenerationId = replicationServerDomain.getGenerationId(); |
| | | oldGenerationId = localGenerationId; |
| | | |
| | | if (replicationServerDomain.isAlreadyConnectedToDS(this)) |
| | | { |
| | |
| | | // WARNING: Must be done before computing topo message to send |
| | | // to peer server as topo message must embed valid generation id |
| | | // for our server |
| | | oldGenerationId = replicationServerDomain.changeGenerationId(generationId); |
| | | setDomainGenerationIdOnStart(generationId); |
| | | } |
| | | } |
| | | return startSessionMsg; |