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

Valery Kharseko
9 hours ago add86d3c7c047215f886c51e2b29a4c7f1e86c0c
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendStat.java
@@ -1118,7 +1118,8 @@
          long undefined = 0;
          long count = 0;
          BackendTreeKeyValue keyDecoder = new BackendTreeKeyValue(index);
          try (Cursor<ByteString, EntryIDSet> cursor = index.openCursor(txn))
          // dbtest walks the index whole, on the command line of an operator: bulk work either way
          try (Cursor<ByteString, EntryIDSet> cursor = index.openBulkCursor(txn))
          {
            while (cursor.next())
            {
@@ -1286,7 +1287,8 @@
          long count = 0;
          long totalKeySize = 0;
          long totalDataSize = 0;
          try (final Cursor<ByteString, ByteString> cursor = txn.openCursor(target.getTreeName()))
          // dbtest walks the tree whole, on the command line of an operator: bulk work either way
          try (final Cursor<ByteString, ByteString> cursor = txn.openBulkCursor(target.getTreeName()))
          {
            ByteString key;
            ByteString maxKey = null;