From 452a69ea42ac6987b0d4e05c7e39b328582a2975 Mon Sep 17 00:00:00 2001
From: maximthomas <maxim.thomas@gmail.com>
Date: Fri, 04 Sep 2026 06:39:42 +0000
Subject: [PATCH] [#907] Answer the review of the base DN change ordering
---
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 e9188ab..b40d8e8 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
@@ -2401,8 +2401,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