| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.server; |
| | | import static org.opends.messages.ReplicationMessages.*; |
| | |
| | | |
| | | int firstDraftCN; |
| | | int lastDraftCN; |
| | | boolean DraftCNdbIsEmpty; |
| | | Long newestDate = 0L; |
| | | DraftCNDbHandler draftCNDbH = this.getDraftCNDbHandler(); |
| | | |
| | |
| | | String domainForLastSeqnum = null; |
| | | if (firstDraftCN < 1) |
| | | { |
| | | DraftCNdbIsEmpty=true; |
| | | firstDraftCN = 0; |
| | | lastDraftCN = 0; |
| | | } |
| | | else |
| | | { |
| | | DraftCNdbIsEmpty=false; |
| | | |
| | | // Get the last DraftCN from the DraftCNdb |
| | | lastDraftCN = draftCNDbH.getLastKey(); |
| | | |