28 May, 2015
8 commits
-
This patch uses a doc tools v3 feature to reference a local copy of the LDAP SDK examples in the LDAP SDK dev guide rather than the evolving examples on the community site. git-svn-id: https://svn.forgerock.org/opendj/trunk@12359 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Various little performance improvements. ID2ChildrenCount remain to be computed. OnDiskMergeStorageImporter.java: In Buffer: - increased the size of memory mapped buffers from 1024 to 10 MiB. - used ConcurrentHashMaps instead of ConcurrentSkipListMaps because during performance testing it was found this code spent a lot of time in ByteString.compareTo() when putting entries to the map. However, at this point, we only need to put() very quickly data in the map, we do not need keys to be sorted. - added ConcurrentHashSet, Set implementation backed by a ConcurrentHashMap, to avoid the use of ConcurrentSkipListSet backed by ConcurrentSkipListMap - renamed copyToDisk() to flushToMappedByteBuffer() In ImportIDSetsMerger(): - in merge(), extracted and rewrote buildEntryIDSet(Set<ByteString> values) git-svn-id: https://svn.forgerock.org/opendj/trunk@12357 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12354 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12352 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* src/main/java/org/opends/quicksetup/installer/ui/SuffixesToReplicatePanel.java ** Autorefactor'ed file + Reformat ** Use straight return ** Use interface instead of concrete class for local variable which are collections ** Use ternary operator * src/main/java/org/opends/admin/ads/SuffixDescriptor.java ** Autorefactor'ed file + Reformat * src/main/java/org/opends/quicksetup/installer/SuffixesToReplicateOptions.java ** Autorefactor'ed file + Reformat ** Simplify constructor code * src/main/java/org/opends/quicksetup/ui/UIFactory.java ** Autorefactor'ed file + Reformat ** Use straight return ** Format javadoc ** Add some generic statement to prevent warnings git-svn-id: https://svn.forgerock.org/opendj/trunk@12351 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed all unnecessary "public" keywords git-svn-id: https://svn.forgerock.org/opendj/trunk@12350 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Improved javadocs and method's parameter names. git-svn-id: https://svn.forgerock.org/opendj/trunk@12349 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12348 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 May, 2015
2 commits
-
A character more than necessary was read while parsing the attribute name. git-svn-id: https://svn.forgerock.org/opendj/trunk@12347 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch aligns the documentation with changes for OPENDJ-1939. git-svn-id: https://svn.forgerock.org/opendj/trunk@12346 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 May, 2015
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12345 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The key/value pairs inserted into trees are now rigorously identical to what the indexes are inserting. Values are merged before final call to Storage.put(). A possible optimization is to start merging values during the first phase. OnDiskMergeStorageImporter.java: Added MergingCursor, Consumer, MergingConsumer, NoMultipleValuesConsumer, ImportIDSetsMerger. In copyTo(), implemented the merge phase. DefaultIndex.java: Extracted decodeValue() and toValue() methods. DN2ID.java: Extracted toValue(). ImportIDSet.java: Extracted merge(EntryIDSet) from merge(ImportIDSet). VLVIndex.java: Extracted toValue() method. git-svn-id: https://svn.forgerock.org/opendj/trunk@12344 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Syntax must be defined because it is referenced by other schema elements git-svn-id: https://svn.forgerock.org/opendj/trunk@12343 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12342 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Server context may be null in gui/cli tools tools. git-svn-id: https://svn.forgerock.org/opendj/trunk@12341 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12340 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Implemented importPhaseTwo(). Import is currently non functional: - sometimes wrong data is imported to trees - merge phase must be performed before final call to Storage.put(TreeName, key, value) - lots of smaller issues remain to be fixed OnDiskMergeStorageImporter.java: Implemented importPhaseTwo(). Added CompositeCursor, ByteBufferCursor. Added static method notImplemented(). Storage.java, PDBStorage.java, TracedStorage.java: Added listTrees(). TreeName.java: Added valueOf(). ID2Entry.java: Added importPut(Importer). git-svn-id: https://svn.forgerock.org/opendj/trunk@12339 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 May, 2015
22 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12338 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12337 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12336 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12335 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Replace server AttributeSyntax<T> class by SDK Syntax class Update server syntaxes (still used, but for config only) to use SDK syntaxes under the cover git-svn-id: https://svn.forgerock.org/opendj/trunk@12334 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Specifying multiple types at index creation could lead to trying to modify an immutable object. Set all types to add to the existing list. git-svn-id: https://svn.forgerock.org/opendj/trunk@12333 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Implemented the memory mapped files buffer for import phase 1. Remain to copy/stream data from phase 1 buffers to trees in backend's storage. ... minus bugs of course. OnDiskMergeStorageImporter.java: Implemented MemoryMappedBufferImporter for importPhaseOne(). Added Id2EntryPutTask and Id2EntryData inner classes for putting in id2entry. Renamed MigrateExistingTask to MigrateExistingEntriesTask. Removed more unused code. git-svn-id: https://svn.forgerock.org/opendj/trunk@12332 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add annotations introduced in r12321 git-svn-id: https://svn.forgerock.org/opendj/trunk@12331 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12330 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12329 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* src/main/java/org/opends/admin/ads/ReplicaDescriptor.java ** Add the backend object classes as field to retrieve type of backend (JE, persistit...) * src/main/java/org/opends/admin/ads/ServerDescriptor.java ** Add logic to add backend object classes to the replica descriptor * src/main/java/org/opends/quicksetup/installer/Installer.java ** Fix a regression introduced in r10231 ** Do nothing if the server is the first in replication topology instead of seting baseDNs of userRoot backend ** Remove the userRoot backend deletion (as it is not hardcoded in the config.ldif since r12022) ** Retrieve backend type from backend object classes to allow creation of different kind of backend * src/main/java/org/opends/quicksetup/installer/InstallerHelper.java ** Replace createLocalDBBackend(...) by createBackend(...) and change the code to be generic to allow both creation of JE and pluggable backends * src/main/java/org/opends/quicksetup/util/Utils.java ** Removes the dsconfig create-replication-domain added in equivalent command line. This comment is not needed and avoid replication of suffix content. * src/main/java/org/opends/server/tools/BackendTypeHelper.java ** Add methods to adapt a backend type from a config object or a backend name git-svn-id: https://svn.forgerock.org/opendj/trunk@12328 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch uses a new feature of the doc build plugin to move extra resource files in with the versioned doc sources. git-svn-id: https://svn.forgerock.org/opendj/trunk@12327 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Displaying usage information always returned success, even in case where it was a side effect of bad input on command line. Have it return the original error code, if any. git-svn-id: https://svn.forgerock.org/opendj/trunk@12326 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12325 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch adds a procedure to reinitialize data for a base DN. This procedure uses the pre-/post-external-init subcommands, rather than rm -rf of the changelogDb and database files. The approach with rm is perhaps quicker for test/PoC environments, but looks like it calls for shutting the service down. git-svn-id: https://svn.forgerock.org/opendj/trunk@12324 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* Improve method name git-svn-id: https://svn.forgerock.org/opendj/trunk@12323 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- LDAPSyntaxDescriptionSyntax: fix bug on regexp syntax - As SDK syntaxes become the reference, ensure tests for SDK syntaxes are at least as complete as tests for server syntaxes git-svn-id: https://svn.forgerock.org/opendj/trunk@12322 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12321 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* org/opends/quicksetup/installer/Installer.java ** Autorefactor'ed file + Reformat and some minor manual cleanup ** Extracted a couple of methods to help code readability of createReplicatedBackendsIfRequired() * org/opends/quicksetup/Application.java ** Consequences of changes done in Installer.java * org/opends/quicksetup/installer/InstallerHelper.java ** Minor cleanup in createLocalDBBackend(...) git-svn-id: https://svn.forgerock.org/opendj/trunk@12320 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
As of 12318 this property is no longer used in the source. git-svn-id: https://svn.forgerock.org/opendj/trunk@12319 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch removes links to the config reference, because the information is now provided in the dsconfig man pages. We might stop delivering the configuration reference at some point. To avoid a clash with the fix for OPENDJ-2013, this patch does not address links related to the local-db attributes. git-svn-id: https://svn.forgerock.org/opendj/trunk@12318 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Thanks to Jean-Noël Rouvignac for pointing out a typo and a misnamed method in my previous commit for this issue. git-svn-id: https://svn.forgerock.org/opendj/trunk@12317 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 May, 2015
1 commit
-
… wrong password is provided Some replication commands only reset connection information instead of re-initing them. Password should be reset anyways. git-svn-id: https://svn.forgerock.org/opendj/trunk@12316 41b1ffd8-f28e-4786-ab96-9950f0a78031