| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | * Portions Copyright 2011-2014 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.plugin; |
| | | |
| | |
| | | * Log information for the repair tool. |
| | | */ |
| | | Message message = ERR_UNKNOWN_ATTRIBUTE_IN_HISTORICAL.get( |
| | | entry.getDN().toNormalizedString(), histVal.getAttrString()); |
| | | entry.getName().toNormalizedString(), |
| | | histVal.getAttrString()); |
| | | logError(message); |
| | | continue; |
| | | } |
| | |
| | | // Any exception happening here means that the coding of the historical |
| | | // information was wrong. |
| | | // Log an error and continue with an empty historical. |
| | | Message message = ERR_BAD_HISTORICAL.get(entry.getDN().toString()); |
| | | Message message = ERR_BAD_HISTORICAL.get(entry.getName().toString()); |
| | | logError(message); |
| | | } |
| | | |
| | |
| | | { |
| | | String uuidString = getEntryUUID(entry); |
| | | FakeModifyOperation modifyFakeOperation = |
| | | new FakeModifyOperation(entry.getDN(), csn, uuidString); |
| | | new FakeModifyOperation(entry.getName(), csn, uuidString); |
| | | modifyFakeOperation.addModification(mod); |
| | | operations.put(histVal.getCSN(), modifyFakeOperation); |
| | | } |
| | |
| | | DirectoryServer.getSchema().getAttributeType(ENTRYUUID_ATTRIBUTE_NAME); |
| | | List<Attribute> uuidAttrs = |
| | | entry.getOperationalAttribute(entryuuidAttrType); |
| | | return extractEntryUUID(uuidAttrs, entry.getDN()); |
| | | return extractEntryUUID(uuidAttrs, entry.getName()); |
| | | } |
| | | |
| | | /** |