25 Mar, 2008

2 commits


24 Mar, 2008

4 commits


21 Mar, 2008

1 commit


20 Mar, 2008

6 commits


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
    boli
     
  • 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
    jvergara
     
  • 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
    jvergara
     
  • …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
    pgamba
     

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
    boli
     
  • * Update the nbproject to include the snmp source code
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3989 41b1ffd8-f28e-4786-ab96-9950f0a78031
    fguigues
     
  • 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
    abobrov
     
  • 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
    abobrov
     
  • 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
    jvergara
     

17 Mar, 2008

3 commits

  • git-svn-id: https://svn.forgerock.org/opendj/trunk@3982 41b1ffd8-f28e-4786-ab96-9950f0a78031
    dugan
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@3980 41b1ffd8-f28e-4786-ab96-9950f0a78031
    dugan
     
  • …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
    dugan
     

14 Mar, 2008

4 commits


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
    gbellato
     
  • …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
    pgamba
     

12 Mar, 2008

2 commits


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
    fdorson
     
  • …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
    jvergara
     
  • 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
    gbellato
     

10 Mar, 2008

2 commits


07 Mar, 2008

1 commit


06 Mar, 2008

1 commit