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

Jean-Noël Rouvignac
13.35.2016 7922522bc5ffbc5830f47d2937aee5d5e70a1573
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, January 13, 2016 16:35 +0100
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, January 29, 2016 10:56 +0100
commit7922522bc5ffbc5830f47d2937aee5d5e70a1573
tree d552194bf9d4be1df927202f94187bb98ba37566 tree | zip | gz
parent b2dc0243fdef08a6c1d751fec039366fd244a18c view | diff
OPENDJ-2553 Constrain VLV index range queries when evaluating searches without VLV controls

Limited VLVIndex.evaluateNonVLVRequest() to CURSOR_ENTRY_LIMIT maximum:
- size limit are already verified in SearchOperationBasis.returnEntry().
- lookthrough limit and page size are already verified by EntryContainer.searchIndexed() and searchNotIndexed().

VLVIndex.java:
In evaluateNonVLVRequest(), when the count is bigger than CURSOR_ENTRY_LIMIT abort by returning null.
1 files modified
12 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java 12 ●●●● diff | view | raw | blame | history