From 730eeeded95dd92c5beb6dd2e2c11f7954ac0d0f Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Tue, 22 Sep 2026 09:08:09 +0000
Subject: [PATCH] [#896] Pin the replay of RootContainer.open, and the give-back of an open which is not replayed (#1002)

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/jdbc/JDBCStorage.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/jdbc/JDBCStorage.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/jdbc/JDBCStorage.java
index d2f2c61..b323570 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/jdbc/JDBCStorage.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/jdbc/JDBCStorage.java
@@ -3857,9 +3857,10 @@
 	 * commits inside {@link WriteOperation#run}, and mysql and oracle commit before a DDL statement whether asked
 	 * to or not, so the attempt no longer rolls back as a whole - and {@link WriteOperation} is only idempotent in
 	 * the database. {@code RootContainer.open} opens and registers every entry container of every base DN in one
-	 * write: replayed after the trees of the first base DN were created and committed, it registers that base DN a
-	 * second time and fails with ERR_ENTRY_CONTAINER_ALREADY_REGISTERED, which masks the failure that caused the
-	 * replay and leaves the indexes of the previous attempt behind with their configuration listeners.
+	 * write, and until #993 (PR #999) a replay of it, run after the trees of the first base DN were created and
+	 * committed, registered that base DN a second time and failed with ERR_ENTRY_CONTAINER_ALREADY_REGISTERED -
+	 * OpenDJ issue #896 - which masked the failure that caused the replay and left the indexes of the previous
+	 * attempt behind with their configuration listeners.
 	 *
 	 * @param conflict the class {@link #conflictVerdict} read from the failure, asked of it once by the caller
 	 * @param committing whether the failure was reported by {@code commit()}, which leaves the outcome unknown

--
Gitblit v1.10.0