| | |
| | | * provided oldestChange, <code>false</code> otherwise |
| | | * @throws DirectoryException |
| | | * if any problem occur |
| | | * @throws ChangelogException |
| | | * if a database problem occurs. |
| | | */ |
| | | private boolean assignChangeNumber(final ECLUpdateMsg oldestChange) |
| | | throws DirectoryException |
| | | throws DirectoryException, ChangelogException |
| | | { |
| | | // We also need to check if the draftCNdb is consistent with |
| | | // the changelogdb. |
| | |
| | | } |
| | | |
| | | private void assignNewDraftCNAndStore(ECLUpdateMsg change) |
| | | throws DirectoryException |
| | | throws DirectoryException, ChangelogException |
| | | { |
| | | // generate a new change number and assign to this change |
| | | change.setChangeNumber(replicationServer.getNewChangeNumber()); |