25 Mar, 2008
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4027 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4026 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Mar, 2008
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4024 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4023 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…concurrent structural modifications. git-svn-id: https://svn.forgerock.org/opendj/trunk@4022 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4020 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Mar, 2008
1 commit
-
Limit the number of tries to 5. git-svn-id: https://svn.forgerock.org/opendj/trunk@4013 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Mar, 2008
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4012 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4011 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Rename the file to match the name of the class defined inside it. git-svn-id: https://svn.forgerock.org/opendj/trunk@4010 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@4009 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Reminder: Inside the ReplicationDomain (plugin) the 'generation ID' and 'server State' both define the state of the server regarding the change occurred in the topology. The 'generation ID' defines the start point. The 'server State' defines an increment, and has a sense for the given generation ID.Thus the life cycle (loading/resetting) for the generation ID and state should be the same. In particular at the end of an import, the generation ID is loaded or computed from the new data set. The server Sate must be loaded or reinitialized the same way and this is not the case currently. That is what these changes fix. git-svn-id: https://svn.forgerock.org/opendj/trunk@4005 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Description In the Replication Server, reseting generation ID must clear the database of changes ONLY if the replication server has not the same generation ID has the one set by the reset message. Test Some checks have been added in the generationIdTest in order to test these changes. The generationIdTest test has been reworked and better commenthave been added. git-svn-id: https://svn.forgerock.org/opendj/trunk@4004 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Mar, 2008
4 commits
-
…ning some tools (import-ldif, verif y-index, etc...) Also cleaned up some unused JEB messages and changed severity level of other messages to better reflect their impor tance. Fix for issue 3073 git-svn-id: https://svn.forgerock.org/opendj/trunk@4003 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
After discussing with different members the following has been committed: * The current behavior is kept (no additional output by default). * Two new options have been added: --displayEquivalentCommand Display the equivalent non-interactive argument in the standard output when this command is run in interactive mode --equivalentCommandFilePath {path} The full path to the file where the equivalent non-interactive commands will be written when this command is run in interactive mode So the user will have to explicitly ask to display the equivalent command-line (or to dump it to a file). This approach privileges the users that configure the server using interactive dsconfig instead of those whose ultimate goal is to create scripts to configure the server (and to whom this feature is targetted). In terms of implementation basically what is done is to create a new class called CommandBuilder when we store the equivalent arguments to what the user provides interactively. When the user applies a change (or asks to display a list of objects) the equivalent command-line is displayed by using the contents stored in the CommandBuilder object. git-svn-id: https://svn.forgerock.org/opendj/trunk@4002 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
The fix consists of displaying a menu with the different options of dsreplication when the user does not specify the subcommand on interactive mode. git-svn-id: https://svn.forgerock.org/opendj/trunk@4000 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…t make the clearing sometimes fail silently . Particularly Berkeley DB requires to close the db and any reference to the db handle released before to truncate the db. That requires to lock the db when it is closed/cleared with a limited impact on the performances in the other cases. A RW lock is added on the db : every thread using the db takes/releases the READ lock before /after usage. That still allow these threads to run concurrently and prevent a big impact on performances. Every thread closing the db (shutdown or clear) takes/releases the WRITE lock before/after the closure. The changes also include a fix on the search scope processing in the replication backend. Test: ------ In addition, the generation ID unit test has been improved with some check on the replication server db content that go through these 2 fixes. Successfully ran nightly build. git-svn-id: https://svn.forgerock.org/opendj/trunk@3994 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Mar, 2008
5 commits
-
- Removed the ability for plugins to directly change the result of an operation - The plugin result API is simplified and more structured. - Pre and Post operation are guaranteed to run in pairs. - Better handling of cancel requests to minimize incorrect result codes. - Operations can indicate too late to cancel from anywhere in the work flow. - Added a non blocking abort method to cancel operations without waiting for a result. - Cancel requests from client disconnect now includes the disconnect reason. Fix for issue 2858 git-svn-id: https://svn.forgerock.org/opendj/trunk@3992 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* Update the nbproject to include the snmp source code git-svn-id: https://svn.forgerock.org/opendj/trunk@3989 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
moving EntryCachePreloader to JEB package and reworking it for JEB specific preload. - scale JEB entry cache preload by unloading decoding/encoding activities onto separate workers. - use blocking queue to reduce in heap memory footprint, read ahead only when necessary. - preload entry cache with backends in read only state, holding the server startup until the entry cache preload is complete. git-svn-id: https://svn.forgerock.org/opendj/trunk@3985 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
the common index and use String objects in place of DN objects. - persistent state save/restore speed up and reduced in heap mem consumption due to the common index usage with JE serializable objects only. - lock re-shuffling to improve concurrency when priming/updating. - use JE no locking mode to improve concurrency and keep default JE properties in place instead of optimizing for tmpFS space. git-svn-id: https://svn.forgerock.org/opendj/trunk@3984 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
When the version argument is passed, detect it and print the version. git-svn-id: https://svn.forgerock.org/opendj/trunk@3983 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Mar, 2008
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3982 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3980 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…er changes were made also: - the cleaner is run at the end of the import - the cleaner is run periodically during import if database eviction is detected - the substring indexes are buffered to help boost performance during substring index processing - the import files have been moved into its own package org.opends.server.backends.jeb.importLDIF - the work threads do most of the processing - import aborts if a work thread throws a runtime exception - messages for the various stages of the import have been added (e.g. environment close) The only functionality missing is VLV index processing. Also, there is a 2G limit on the max entry ID value that can be used in a substring index. The following configuration attributes have been removed: - ds-cfg-import-temp-directory - ds-cfg-import-buffer-size - ds-cfg-import-pass-size The should be removed from your config.ldif file. git-svn-id: https://svn.forgerock.org/opendj/trunk@3979 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Mar, 2008
4 commits
-
…ls and for the server itself on startup. The user can now use the org.opends.server.debug.* property to configure the debugging behavior anytime where the logger configuration is not obtained from the config file. This is discovered when it was not possible to see debug output from the verify-index tool to determine why the db was corrupt. Fix for issue 3073 git-svn-id: https://svn.forgerock.org/opendj/trunk@3977 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Show the information about the log file after the error message is displayed. git-svn-id: https://svn.forgerock.org/opendj/trunk@3976 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3975 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Use the baseDN instead of the backendID to generate the error message. git-svn-id: https://svn.forgerock.org/opendj/trunk@3974 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Mar, 2008
2 commits
-
The replication HeartBeatThread uses non final Boolean for the synchronization of the shutdown phase. This can cause some rare IllegalMonitorStateException when trying to shutdown the HeartbeatThread because the Boolean can be modified by another thread. The fix is to use a dedicated lock for this synchronization purpose. This change also turn some replication objects that were used for sycnhronization purpose into final objects so that the same bug cannot happen again. git-svn-id: https://svn.forgerock.org/opendj/trunk@3964 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ed by a ChangeNumberGenerator. One component of the ChangeNumber is a timestamp, Because we want the timestamp of the ChangeNumbers to be consistently growing across the whole topology and not only inside each server independently, the ChangeNumberGenerator must be adjusted with the timestamp of the updates received from the other servers of the topology. The code was already here but erroneously used. Unit test written accordingly. It also required some changes in ProtocolWindowTest unit test to isolate it from the other unit tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@3962 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Mar, 2008
2 commits
-
…turnEntry method performs a processing on the search entry before the entry is sent to the client application. In the particular case of JE local backend, no processing is required, so the retunEntry is doing nothing but call the returnEntry on its super class. git-svn-id: https://svn.forgerock.org/opendj/trunk@3958 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In interactive mode display a summary of the parameters provided by the user (as the one that we have in the GUI). If the user is not satisfied with the provided parameters we propose to revisit all of them again (the default values that we will propose are the ones the user provided). git-svn-id: https://svn.forgerock.org/opendj/trunk@3954 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Mar, 2008
3 commits
-
The ServerState is saved to the database periodically, therefore in case of crash it is possible that is does not contain the latest changes that have been processed and saved to the database. In order to make sure that the replication never looses changes, when replication starts the server needs to search all the entries that have been updated after the last write of the ServerState. This is done by using the HistoricalCsnOrderingMatchingRule. git-svn-id: https://svn.forgerock.org/opendj/trunk@3951 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…pite errors reported) Throw an UserDataException when the user must provide authentication and we are in non-interactive mode without the forceOnError flag. This way we display the error message describing the problem, the alternatives in terms of arguments that can be used and the whole usage of the command line with a longer description of the arguments we propose to use. git-svn-id: https://svn.forgerock.org/opendj/trunk@3950 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fix a case when the modify operation on userPassword attribute is not applied on the entry when replayed by the replication. git-svn-id: https://svn.forgerock.org/opendj/trunk@3945 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Mar, 2008
2 commits
-
The internal lists are now CopyOnWriteArrayList lists so that iterators do not through exceptions when the lists are modified. Immutable iterable instances are returned instead of lists. git-svn-id: https://svn.forgerock.org/opendj/trunk@3941 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3940 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Mar, 2008
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3938 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Mar, 2008
1 commit
-
… issue 2116 but apparently the fix was not adequate to fully address the problem. This problem surfaced now because executing chmod apparently produced output on stderr and/or stdout which was not read by StaticUtils.exec when no output was expected. Fix for issue 3009 git-svn-id: https://svn.forgerock.org/opendj/trunk@3936 41b1ffd8-f28e-4786-ab96-9950f0a78031