mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
yesterday 730eeeded95dd92c5beb6dd2e2c11f7954ac0d0f
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