9cfc6d90d43cfff2041ad05a31e6b70bdbcf269b |
|
25-Nov-2015 |
Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com> |
Fix referrals not being returned by a search
DN2URI.java:
In returnSearchReferences(), use Cursor.positionToKeyOrNext() because we do not want to position _exactly_ on the lower bound key, we want to position on that key, or the next one.
JEStorage.java:
In positionToIndex(), allowed to specify index 0. |
d3e64655c9ebfefffbe641d58eeacdd8a8fb72dd |
|
17-Aug-2015 |
Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com> |
Code improvements
DN2URI.java:
Do not decode DN when only the list of URIs is needed:
- extracted methods decodeUrisOnly(), decode0(), decodeDN(), decodeUris()
- used Map.Entry instead of Pair because it maps exactly to the role of DN2URI index (where DN is the key and List of URIs is the value).
EntryContainer.java:
Extracted method getNumberOfEntriesInBaseDN0() to avoid creating a sub transaction (used by RootContainer).
VerifyJob.java:
Used SuffixContainer constants. |
0bd57577bb85119b2b4495c5ef525ba189d8d17c |
|
05-Mar-2015 |
Matthew Swift <matthew.swift@forgerock.com> |
OPENDJ-1848: in-line and remove various storage related access methods from DatabaseContainer.
Initial refactoring work to make it easier to group calls to getRMW() and putIfAbsent() with other storage options. This will make it easier to combine them into single update() calls.
* introduced TracedStorage decorator to handle logging that was in DatabaseContainer
* DatabaseContainer: inlined and removed openCursor, delete, insert, read, and put
* temporarily split read(tree, key, isRMW) method into separate methods: read(tree, key) and readRMW(tree, key) to make it easier to track uses of RMW locking. |