28 Jun, 2013

1 commit


27 Jun, 2013

6 commits


26 Jun, 2013

12 commits


25 Jun, 2013

4 commits


24 Jun, 2013

3 commits

  • Fixed checkstyle error
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9045 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    The code replaying the replicated operations now handles BUSY and UNAVAILABLE result codes and will retry replaying these operations.
    Prevented a possible OutOfMemoryError by bounding the queue holding the replicated operations.
    
    
    LDAPReplicationDomain.java, ReplicationDomain.java:
    In replay(), added the AtomicBoolean shutdown parameter + tested for server shutdown + handled BUSY and UNAVAILABLE result codes +
    In processUpdate(), added the AtomicBoolean shutdown parameter + tested for server shutdown + ensured the code works with a bounded queue.
    Extracted logDecodingOperationError() out of replay().
    
    MultimasterReplication.java:
    Made updateToReplayQueue a bounded queue (it was unbounded before).
    
    ReplayThread.java, ListenerThread.java:
    Converted shutdown boolean instance member into an AtomicBoolean.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9044 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Review: Matthew Swift, Ludovic Poitou, Christophe Sovant
    
    1st phase of the changes.
    
    LockManager.java:
    Tripled the wait time for trying to acquire a lock.
    
    *.java:
    Removed the triple attempts at locking anti pattern.
    
    PasswordModifyExtendedOperation.java:
    Extracted method toAttributeValues() from processExtendedOperation().
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9043 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

21 Jun, 2013

2 commits

  • We now request IndexOutputBuffer with the space needed, and allocate a specific temp one, if the key is too large to fit in default buffer.
    Minor code cleanup and clarification in the IndexOutputBuffer class.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9041 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • - inserted new line before license display
    - fixed the star display(first space was removed by wrapText())
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9027 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

20 Jun, 2013

4 commits


19 Jun, 2013

1 commit

  • * make protocol versioning the responsibility of the ProtocolSession object. Previously, it was split between various classes making it very confusing and risk-prone. Now only one class (TLSSocketSession) "owns" the protocol version
    * removed ReplicationMsg.getBytes() and require that all message impls implement ReplicationMsg.getBytes(short protocolVersion). Messages which have never evolved since the first protocol version can simply ignore the passed in protocol version parameter
    * simplified the handshake process, ensuring that we always set the protocol version once the handshake has completed. Part of this change was to remove the protocol version from the start message constructors, since it is implied during encoding (this removes some ambiguity in these classes)
    * many other minor code clean ups and bug fixes.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9009 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

18 Jun, 2013

1 commit


17 Jun, 2013

1 commit


14 Jun, 2013

1 commit

  • Enhanced JsonValue by adding a record/verify mode for key accesses.
    Client code must call recordKeyAccesses() to verifyAllKeysAccessed().
    When yhere is an an unaccessed key, a JsonException will be thrown and all unaccessed keys will be reported (unaccessed keys located under other unaccessed keys are not reported to reduce noise).
    
    
    HTTPConnectionHandler.java:
    In createAndRegisterServlet(), enabled the record mode before accessing the keys, then verify all the keys have been accessed after we are done with the JSON config.
    
    JsonValue.java:
    Added recordKeyAccesses() and verifyAllKeysAccessed().
    
    JsonValueKeyAccessChecker.java, JsonValueKeyAccessCheckerTest.java: ADDED
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8994 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

13 Jun, 2013

1 commit


12 Jun, 2013

1 commit


11 Jun, 2013

2 commits

  • * remove a bunch of dead code in our entry cache implementations. OPENDJ-885 requires that we no longer use timeouts when using the LockManager. Our entry caches were one such place where we used the lock manager with timeouts. However, on closer examination I found that we never use the locking capabilities of our entry caches, so a simple fix is to remove the dead functionality
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8989 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • As suggested in CR, a new upgrade task has been created 'Rename SNMP security config file'. This task is launched if the old SNMP config file
    actually exists in the config/snmp/security.
    The task renames the file with the new opendj name.
    
    NOTA : The config/snmp/security/opends-snmp.security has been changed in 2.5.0.7466 and the community name as well. ( Cf. Matt's comment in CR). 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8988 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette