Class MultimasterReplication.CleanStaleHistoricalMetadataPlugin

java.lang.Object
org.opends.server.api.plugin.DirectoryServerPlugin<PluginCfg>
org.opends.server.api.plugin.InternalDirectoryServerPlugin
org.opends.server.replication.plugin.MultimasterReplication.CleanStaleHistoricalMetadataPlugin
Enclosing class:
MultimasterReplication

public static final class MultimasterReplication.CleanStaleHistoricalMetadataPlugin extends InternalDirectoryServerPlugin
If replication is configured and then unconfigured, we need to remove replication metadata from entries being updated to avoid OPENDJ-6235.
  • Constructor Details

    • CleanStaleHistoricalMetadataPlugin

      public CleanStaleHistoricalMetadataPlugin(ServerContext serverContext)
      Create and register a new instance of this plugin.
      Parameters:
      serverContext - the server context
  • Method Details

    • doPreOperation

      public void doPreOperation(PreOperationModifyOperation modifyOperation)
      Description copied from class: DirectoryServerPlugin
      Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify operation. This method is not called when processing synchronization operations.
      Overrides:
      doPreOperation in class DirectoryServerPlugin<PluginCfg>
      Parameters:
      modifyOperation - The modify operation to be processed.
    • doPreOperation

      public void doPreOperation(PreOperationModifyDNOperation modifyDNOperation)
      Description copied from class: DirectoryServerPlugin
      Performs any necessary processing that should be done just before the Directory Server performs the core processing for a modify DN operation. This method is not called when processing synchronization operations.
      Overrides:
      doPreOperation in class DirectoryServerPlugin<PluginCfg>
      Parameters:
      modifyDNOperation - The modify DN operation to be processed.