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

Matthew Swift
22.19.2014 db02e3b120abd8f5e090c3f60b4a4b92508db504
refs
author Matthew Swift <matthew.swift@forgerock.com>
Monday, December 22, 2014 12:19 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Monday, December 22, 2014 12:19 +0100
commitdb02e3b120abd8f5e090c3f60b4a4b92508db504
tree b835967c8b0550640b67a79d01886e3ab8a30ae3 tree | zip | gz
parent 9e4bbdeec05bb06482cefb5baccbb68915487374 view | diff
Fix OPENDJ-1709: Persistit: ldapsearch returns second entry twice

Manually reviewed by Jean-Noel.

* fix Persistit storage cursor iteration. Application code which uses the cursor API assumes that calling next() after a call to positionXXX() moves the cursor forward
* fix various places where we were using stale key/value references
* fix a couple of minor bugs when checking the result of cursoring in VLV indexing.
4 files modified
57 ■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/backends/persistit/PersistItStorage.java 22 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/EntryContainer.java 3 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/Index.java 18 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/backends/pluggable/VLVIndex.java 14 ●●●● diff | view | raw | blame | history