From f4fc21a222c514860b5232cce2d9f890639f5b5a Mon Sep 17 00:00:00 2001
From: Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Date: Mon, 27 Jul 2015 09:38:19 +0000
Subject: [PATCH] OPENDJ-2159 CR-7527 PDB Storage is read-only when using verify-index tool on Windows.

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java
index b08bfa8..8671489 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java
@@ -38,15 +38,16 @@
 interface Tree
 {
   /**
-   * Opens a tree. If the provided configuration is transactional,
+   * Opens a tree, optionally creating it. If the provided configuration is transactional,
    * a transaction will be created and used to perform the open.
    *
    * @param txn
    *          a non null transaction
+   * @param createOnDemand true if the tree should be created if it does not exist
    * @throws StorageRuntimeException
    *           if an error occurs while opening the index.
    */
-  void open(WriteableTransaction txn) throws StorageRuntimeException;
+  void open(WriteableTransaction txn, boolean createOnDemand) throws StorageRuntimeException;
 
   /**
    * Deletes this tree and all of its contents.

--
Gitblit v1.10.0