02 Feb, 2007

7 commits


01 Feb, 2007

9 commits


31 Jan, 2007

5 commits


30 Jan, 2007

8 commits

  • add schema file task is used to update the server schema.
    
    OpenDS Issue Number:  1170
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1065 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@1064 41b1ffd8-f28e-4786-ab96-9950f0a78031
    treydrake
     
  • new file into the schema without the need to restart.
    
    OpenDS Issue Number:  367
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1063 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • or error log messages generated by failed test cases.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1062 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@1061 41b1ffd8-f28e-4786-ab96-9950f0a78031
    treydrake
     
  • … synchro tests on his machine.
    The root cause for this exception requires a deeper investigation.
    
        [testng] Failed Test: 
    org.opends.server.synchronization.changelog.ChangelogTest#changelogChaining
        [testng] Failure Cause:  java.lang.NullPointerException
        [testng] 
    org.opends.server.synchronization.changelog.Changelog.shutdown(Changelog.java:566)
        [testng] 
    org.opends.server.synchronization.changelog.ChangelogTest.changelogChaining(ChangelogTest.java:726)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1060 41b1ffd8-f28e-4786-ab96-9950f0a78031
    pgamba
     
  • The root cause is a concurrent access to the db resource of the
    changelog server when the shutdown() method is called.
    
       [testng] Java stack information for the threads listed above:
       [testng] ===================================================
       [testng] "Changelog Server 11 zone35.gridzones.com:43150 dc=example,dc=com reader":
       [testng] 	at com.sleepycat.je.Database.removeCursor(Database.java:1055)
       [testng] 	- waiting to lock <0xf4f36310> (a com.sleepycat.je.Database)
       [testng] 	at com.sleepycat.je.Cursor.close(Cursor.java:254)
       [testng] 	- locked <0xf4f36430> (a com.sleepycat.je.Cursor)
       [testng] 	at org.opends.server.synchronization.changelog.ChangelogDB.readFirstChange(ChangelogDB.java:212)
       [testng] 	at org.opends.server.synchronization.changelog.DbHandler.<init>(DbHandler.java:103)
       [testng] 	at org.opends.server.synchronization.changelog.Changelog.newDbHandler(Changelog.java:600)
       [testng] 	at org.opends.server.synchronization.changelog.ChangelogCache.put(ChangelogCache.java:167)
       [testng] 	- locked <0xf4f57688> (a java.util.concurrent.ConcurrentHashMap)
       [testng] 	at org.opends.server.synchronization.changelog.ServerReader.run(ServerReader.java:111)
       [testng] "main":
       [testng] 	at com.sleepycat.je.Cursor.close(Cursor.java:251)
       [testng] 	- waiting to lock <0xf4f36430> (a com.sleepycat.je.Cursor)
       [testng] 	at com.sleepycat.je.Database.closeInternal(Database.java:273)
       [testng] 	at com.sleepycat.je.Database.close(Database.java:238)
       [testng] 	- locked <0xf4f36310> (a com.sleepycat.je.Database)
       [testng] 	at com.sleepycat.je.Environment.close(Environment.java:273)
       [testng] 	- locked <0xf4f124a8> (a com.sleepycat.je.Environment)
       [testng] 	at org.opends.server.synchronization.changelog.ChangelogDbEnv.shutdown(ChangelogDbEnv.java:234)
       [testng] 	at org.opends.server.synchronization.changelog.Changelog.shutdown(Changelog.java:583)
       [testng] 	at org.opends.server.synchronization.changelog.ChangelogTest.changelogChaining(ChangelogTest.java:724)
    
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1059 41b1ffd8-f28e-4786-ab96-9950f0a78031
    pgamba
     
  • add schema file task.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1058 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

29 Jan, 2007

4 commits

  • NameFormSyntax class.
    
    OpenDS Issue Number:  1169
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1057 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • The synchronization server is flushing all the queues of the messages
    received from a LDAP server each time a server needs to retrieve some
    changes that are not in memory anymore.
    
    This cause the reading process of old changes very slow when there is also new changes coming in.
    
    The servers that are already late can therefore become more and more late.
    
    The solution is to detect the conditions when a flush is necessary by comparing the date of the changeNumber where
    we want to start with the date of the first ChangeNumber
    and only flush in those cases.
    
    - Also fix some warning at compilation time and when using java 6
    
    - Also fix an problem between test ConfigurableComponentTestCase and the ChangelogTest
    because ConfigurableComponentTestCase expect all component to be configurable while
    the dynamic configuration code for the Changelog is not yet implemented.
    
    - 2 new unit tests are also included :
    
    . scalability test of a synchronization server when one LDAP server
    is used as a master and several other LDAP servers are used as
    read only servers :
    org.opends.server.synchronization.changelog.ChangelogTest.OneWriterMultipleReader()
    
    . scalability test of a sycnhronization server when several LDAP Servers are used as master simultaneously : org.opends.server.synchronization.changelog.ChangelogTest.MultipleWriterMultipleReader()
    
    These tests do not instantiate the LDAP servers but simulate them
    by using directly the ChangelogBroker API.
    
    The second is failing (issue 1162) and is therefore disabled. 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1056 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato
     
  • addition to the Subversion repository have the "svn:eol-style" property set to
    "native".
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1055 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • This does not allow to cover the code that deals with changelog server to
    changelog server communications.
    
    In order to have more than one changelog services running in the same instance
    and instance layout, the serverID has been added to the changelogstate dbName.
    
    Changelog db path is now configurable, 
    
    The 2 following tests have been implemented:
    
    +  /**
    +   * Chaining tests of the changelog code with 2 changelog servers involved
    +   * 2 tests are done here (itest=0 or itest=1)
    +   * 
    +   * Test 1
    +   * - Create changelog server 1
    +   * - Create changelog server 2 connected with changelog server 1
    +   * - Create and connect client 1 to changelog server 1
    +   * - Create and connect client 2 to changelog server 2
    +   * - Make client1 publish changes
    +   * - Check that client 2 receives the changes published by client 1
    +   * 
    +   * Test 2
    +   * - Create changelog server 1
    +   * - Create and connect client1 to changelog server 1
    +   * - Make client1 publish changes
    +   * - Create changelog server 2 connected with changelog server 1
    +   * - Create and connect client 2 to changelog server 2
    +   * - Check that client 2 receives the changes published by client 1
    +   * 
    +   */
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1054 41b1ffd8-f28e-4786-ab96-9950f0a78031
    pgamba
     

28 Jan, 2007

5 commits


26 Jan, 2007

2 commits