10 Jun, 2013

3 commits


07 Jun, 2013

6 commits


06 Jun, 2013

2 commits


05 Jun, 2013

8 commits


04 Jun, 2013

6 commits

  • This commit addresses the InternalSearchMonitorTestCase unit test regression introduced by my previous fix for OPENDJ-866. 
    
    Monitor provider instance names are required to be stable so that deregistration attempts succeed. This is not the case for many of our replication monitors which include mutable components such as host addresses or connected RS identifiers (as a parent RDN). Before my fix for OPENDJ-866 these "mutating" monitors took care to re-register themselves whenever they detected that the name was about to change. Unfortunately my fix for OPENDJ-866 made the names of local replica monitors mutable as well by including the local address. The side effect was that the monitor providers would sometimes not be deregistered which was causing the org.opends.server.monitors.InternalSearchMonitorTestCase unit test to fail. 
    
    This fix modifies the replication domain monitor provider so that it re-registers itself whenever it senses a potential name change (i.e. connection establishment). The change was not as simple as I hoped because many unit tests create replication brokers with null replication domains. 
    
    I've refactored the code a little and pushed ownership of the monitor provider into the broker in order to make its lifecycle clearer.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8963 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • => fix for replication mode
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8962 41b1ffd8-f28e-4786-ab96-9950f0a78031
    csovant
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8961 41b1ffd8-f28e-4786-ab96-9950f0a78031
    csovant
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8960 41b1ffd8-f28e-4786-ab96-9950f0a78031
    csovant
     
  • <step performance="optional> does not affect any of the output (yet), but in fact the package tools ought to pull in the dependencies if you don't specify them. (I originally added the "install Java" steps to make it explicit.)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8959 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • Align signature of DirectoryServer.deregisterMonitorProvider with registerMonitorProvider and avoid lots of boilerplate name normalization.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8958 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

03 Jun, 2013

7 commits


31 May, 2013

4 commits


30 May, 2013

4 commits

  • This partial fix addresses the first two bugs described in the issue comments, specifically:
    
    * the logic (ReplicationBroker#filterServersInSameVM) which chooses the best RS does not prefer RS which are on the same host, only those which are in the same VM. In addition, the logic in ReplicationServer#isLocalReplicationServerPort assumes that the local host name is the same address which the RS is listening on
    
    * the method ReplicationBroker#isSameReplicationServerUrl contains a typo which causes the second url to be interpreted as the local host name if the first url is a local address. This triggers all kinds of strange side effects during RS fail-over.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8946 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8945 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • - added message when buildinfo is not found.
    - excluded .app / bat files.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8944 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • - added --acceptLicense to the setup command line options.
    - modified code for checking the license during the setup :
    	- using the no-prompt option no longer bypass the license if presents.
    	- displays now the license text, question and answer(yes) when used with the --acceptLicense.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8943 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette