22 May, 2015
16 commits
-
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
8 commits
-
… 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
-
This patch uses conditional text to make it possible to exclude elements related to the local-db-backend from the hand-written documentation. This patch does not address local-db-backend related content in the generated reference documentation. For the most part, that should be a by-product of changes to OpenDJ directory server code, though there is one place in the opendj-server-legacy POM that I've left a comment regarding the need to avoid trying to build a man page for dbtest. git-svn-id: https://svn.forgerock.org/opendj/trunk@12315 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12314 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12313 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Some information about the current interactive session was not reset properly when resetting the prompt and fields. git-svn-id: https://svn.forgerock.org/opendj/trunk@12312 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted method isCanceled(). Directly used ByteSequence.compareTo(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12311 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
RootContainer is now directly constructed with the Storage rather than getting it from the Backend. git-svn-id: https://svn.forgerock.org/opendj/trunk@12310 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
OnDiskMergeStorageImporter now writes all keys/values to the Importer. Added various toKey() and toValue() methods to the index classes. OnDiskMergeStorageImporter.java Write all keys/values to the Importer. Rewrote the code inherited from OnDiskMergeBufferImporter + simplified the code DN2ID.java: Renamed dnToKey() to toKey(). DN2URI.java: Added toKey() and toValue(). Used try-with-resources + diamond operator. VLVIndex.java: Extracted toKey() from encodeVLVKey(). Used try-with-resources. VerifyJob.java: Consequence of the change to VLVIndex.encodeKey(). Code cleanup. IndexBuffer.java: Code cleanup git-svn-id: https://svn.forgerock.org/opendj/trunk@12309 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 May, 2015
13 commits
-
OnDiskMergeStorageImporter.java: Removed DNCacheImpl + implemented Dn2IdDnCache which requires an EntryID in the insert() method. Used Importer. Some changes consequence of adding entryID to OnDiskMergeBufferImporter.DNCache.insert(). Removed more unused code. DN2ID.java: Added insert(WriteableTransaction, DN, EntryID), required by the new OnDiskMergeStorageImporter.Dn2IdDnCache.insert(). OnDiskMergeBufferImporter.java: In DNCache.insert(), now accept a entryID parameter, required by the new OnDiskMergeStorageImporter.Dn2IdDnCache.insert(). Added Dn2IdDnCache, alternative implementation of DNCache. Moved ImportTask.insert() to Dn2IdDnCache.insert(). Suffix.java: In isParentProcessed(), moved the check on dn2id to the new OnDiskMergeBufferImporter.Dn2IdDnCache.contains() (avoids coupling with WriteableTransaction) + removed several unused parameters git-svn-id: https://svn.forgerock.org/opendj/trunk@12308 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add checks to prevent using database object if it is null git-svn-id: https://svn.forgerock.org/opendj/trunk@12307 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12306 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added OnDiskMergeStorageImporter to serve as the base for the new import strategy git-svn-id: https://svn.forgerock.org/opendj/trunk@12305 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12304 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The two implementation packages are now packaged in opendj-je-backend-changelog.jar. The JAR file does not include the generated configuration framework classes or property files. git-svn-id: https://svn.forgerock.org/opendj/trunk@12303 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Changed IndexManager constructor. git-svn-id: https://svn.forgerock.org/opendj/trunk@12302 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Renamed Importer to OnDiskMergeBufferImporter Used the simple name "Importer" rather than the fully qualified name "org.opends.server.backends.pluggable.spi.Importer" git-svn-id: https://svn.forgerock.org/opendj/trunk@12301 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12300 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Remove use of "-y" option when putting PersistIt database in append-mode only git-svn-id: https://svn.forgerock.org/opendj/trunk@12299 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12298 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This change makes it easier to package the JE backend and changelog as an extension since all JE dependent functionality is now isolated in only two packages. git-svn-id: https://svn.forgerock.org/opendj/trunk@12297 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12296 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 May, 2015
3 commits
-
Code cleanup Use static imports. git-svn-id: https://svn.forgerock.org/opendj/trunk@12295 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12294 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12293 41b1ffd8-f28e-4786-ab96-9950f0a78031