26 Jun, 2013

11 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

3 commits


10 Jun, 2013

2 commits


07 Jun, 2013

3 commits

  • Back a few years ago, when we did the SVR4 package, we split the schema into read-only (Install) and writable (Instance).
    With the template model in 2.6, the whole schema is under config, and we should never edit/change the one in the template.
    So, I've removed all code related to the 2 locations for schema, reverted some I10N messages to their previous versions, and tidy up code and tests.
    All unit-tests are passing.
    And it's also possible to change the instance.loc and run setup and have a fully functioning server :-)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8978 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • * use single TCP packet where possible for replication messages
    * reduce frequency of socket reads.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8977 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • The jnlp / webstart is now able to display the license if it is present and to validate it.
    
    Additional fix : The font is now set to UIFactory.TEXTFIELD_FONT for the license panel. (fix windows OS trivial graphical bug)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8975 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

06 Jun, 2013

1 commit


05 Jun, 2013

1 commit