From 2c22d96fcf2a6c9323d331e1197337fec239bc88 Mon Sep 17 00:00:00 2001
From: Maxim Thomas <maxim.thomas@gmail.com>
Date: Wed, 09 Sep 2026 07:21:53 +0000
Subject: [PATCH] [#907] Change the base DNs of a pluggable backend outside the write the storage replays (#914)
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java
index a7ae259..917b230 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java
@@ -2423,8 +2423,11 @@
}
/**
- * Delete this entry container from disk. The entry container should be
- * closed before calling this method.
+ * Deletes this entry container from disk, that is, every tree {@link #listTrees()} enumerates.
+ * The entry container may be open or closed: the trees are taken from the attribute and VLV index
+ * maps, which {@link #close()} closes the indexes of but leaves populated, so the same set is
+ * deleted either way. A {@code close()} which cleared those maps would turn a call made after it
+ * into a partial deletion, silently. Either way the container is not to be used afterwards.
*
* @param txn a non null transaction
* @throws StorageRuntimeException If an error occurs while removing the entry container.
--
Gitblit v1.10.0