27 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10596 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10591 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10583 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10559 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Mar, 2014
2 commits
-
…ge longer than 71 chars. git-svn-id: https://svn.forgerock.org/opendj/trunk@10542 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10540 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Mar, 2014
1 commit
-
(Changes review manually by Matthew Swift) git-svn-id: https://svn.forgerock.org/opendj/trunk@10515 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Mar, 2014
1 commit
-
… an LDAP Password Modify extended operation git-svn-id: https://svn.forgerock.org/opendj/trunk@10486 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10476 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10471 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Feb, 2014
1 commit
-
- Replaced harcoded "\n" by ServerConstants.EOL. git-svn-id: https://svn.forgerock.org/opendj/trunk@10425 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Feb, 2014
2 commits
-
ReplicationDomain.java: Renamed inner class IEContext to ImportExportContext. Renamed fields ieContext to importExportContext. Renamed isRemoteDSConnected() to getConnectedRemoteDS(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10410 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ReplicationDomain.java: Renamed inner class IEContext to ImportExportContext. Renamed fields ieContext to importExportContext. Renamed isRemoteDSConnected() to getConnectedRemoteDS(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10409 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Feb, 2014
2 commits
-
Improved design for Replication Topology ReplicationBroker.java + *Test.java: Extracted the Topology class to encapsulate the dsList and replicationServerInfos fields + atomically set it via an AtomicReference + moved setLocallyConfiguredFlag(), isSameReplicationServerUrl(), computeConnectedDSs() to Topology class. Created methods computeNewTopology() and topologyChange() to compute and set the new topology. Removed generationID instance variable duplicated with the one from ReplicationDomain + updated ctor and setGenerationID(). Improved debugging messages. Renamed getDsList() to getReplicaInfos() + changed return type from List<DSInfo> to Map<Integer, DSInfo>. Renamed getRsList() to getRsInfos(). Extracted method toRSInfos(). ReplicationBrokerTest.java: ADDED Added to test new ReplicationBroker.Topology class. DSInfo.java: Changed equals(Set<String>, Set<String>) to equals(Object, Object). In toString(), hid the assured fields if assured replication is off. RSInfo.java: Renamed fields id and serverUrl to rsServerId and rsServerURL. In toString(), relied on the compiler to generate the String. TopologyMsg.java: Renamed fields dsList and rsList to replicaInfos and rsInfos. Renamed getDsList() to getReplicaInfos() + changed return type from List<DSInfo> to Map<Integer, DSInfo>. Renamed getRsList() to getRsInfos(). Extracted methods readStrings() and writeStrings(). Code cleanup Used javadocs ReplicationDomain.java, replication*.properties: Extracted class ECLIncludes to replace eclIncludesLock, eclIncludesByServer, eclIncludesAllServers, eclIncludesForDeletesByServer, eclIncludesForDeletesAllServers + moved setEclIncludes() implementation to this class + removed synchronized blocks from all the getters. Added baseDN to ERR_INIT_NO_SUCCESS_START_FROM_SERVERS. Inlined initializeRemote(). Removed unused initializeFromRemote(). Reduced methods visibility. Renamed getReplicaList() to getReplicaInfos() + changed return type from List<DSInfo> to Map<Integer, DSInfo>. Renamed getRsList() to getRsInfos(). In initializeRemote(), waitForRemoteEndOfInit(), isRemoteDSConnected() and getProtocolVersion(), simplified code. *.java: Consequence of the changes above. Simplified code in a number of places, particularly in the tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@10405 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10402 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Feb, 2014
1 commit
-
…cted to a single Master git-svn-id: https://svn.forgerock.org/opendj/trunk@10357 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Feb, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10350 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Feb, 2014
3 commits
-
…er than OpenDJ idle timeouts git-svn-id: https://svn.forgerock.org/opendj/trunk@10341 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10337 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
getAttrValue() now returns String instead of AttributeValue. Extracted methods asBoolean(), asLong(), asInteger(). javadocs cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@10333 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Feb, 2014
1 commit
-
… (because they don't have responses) git-svn-id: https://svn.forgerock.org/opendj/trunk@10316 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Feb, 2014
1 commit
-
… running as a windows service git-svn-id: https://svn.forgerock.org/opendj/trunk@10280 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Feb, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10259 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Feb, 2014
2 commits
-
…ting a password validator git-svn-id: https://svn.forgerock.org/opendj/trunk@10252 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10242 41b1ffd8-f28e-4786-ab96-9950f0a78031
31 Jan, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10240 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10229 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 Jan, 2014
1 commit
-
To do so, one will need to add an auxiliary objectclass in the password policy subentry and the mandatory ds-cfg-password-validator attribute (value is the DN of the validator in cn=config DIT). git-svn-id: https://svn.forgerock.org/opendj/trunk@10215 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Jan, 2014
3 commits
-
replication*.properties: Added exception stacktraces to NOTICE_READER_EXCEPTION_53. ServerReader.java: In run(), logged the stacktrace when calling logError(). Removed redundant call to logException() which logged to debug logger. Session.java: Extracted method read(). StaticUtils.java: In stackTraceToSingleLineString(), when this is not a debug build, added the exception type at the start of the message. StaticUtilsTest.java: ADDED git-svn-id: https://svn.forgerock.org/opendj/trunk@10202 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code review: Matthew Swift Caused by r10049. Problem is down to the initialization sequence: 1. thread 1 - MultimasterReplication.initializeSynchronizationProvider() 1.1. it creates the ReplicationServerListener 1.1.1. the ReplicationServerListener in turn creates the ReplicationServer 1.1.1.1. the ReplicationServer in turn creates the ChangelogDB 1.1.1.1.1. the ChangelogDB in turn creates the ChangeNumberIndexer thread and STARTs it 1.1.1.1.1. the ChangelogDB starts the ChangeNumberIndexer thread 1.2. it proceeds with creating the LDAPReplicationDomain objects one by one 2. thread 2 - ChangeNumberIndexer.run() 2.1. it calls ChangeNumberIndexer.initialize() 2.1.1. ChangeNumberIndexer.initialize() calls MultimasterReplication.isECLEnabledDomain(baseDN) Steps 1.2. and 2.1.1. are running concurrently. If 2.1.1. is run before 1.2. is completed, In ChangeNumberIndexer.initialize(): 1) MultimasterReplication.isECLEnabledDomain(baseDN) returns false, hence a cursor to the relevant replica DBs is not created 2) then the call to nextChangeForInsertDBCursor.getRecord() returns null, later throwing a NullPointerException because the ChangeNumberIndexer thread is in an illegal state: it was expecting to find an UpdateMsg with the correct CSN stamped on it. MultimasterReplication.java: Added State enum + state instance member to tell whether MultimasterReplication is ready for work. Removed isRegistered instance member superseded by state instance member. In isECLEnabledDomain(), completeSynchronizationProvider() and finalizeSynchronizationProvider(), deal with thread waits. DomainFakeCfg.java: Implemented toString(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10200 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10196 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Jan, 2014
1 commit
-
…icated users rather than to anyone git-svn-id: https://svn.forgerock.org/opendj/trunk@10189 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Jan, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10174 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Jan, 2014
3 commits
-
…gards to schema initialization and --host1/--host2 parameters git-svn-id: https://svn.forgerock.org/opendj/trunk@10159 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10156 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10155 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Jan, 2014
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10138 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixed NPE in tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@10134 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10133 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Jan, 2014
1 commit
-
ReplicationDomain.java: Made ieContext private and used an AtomicReference for it + In acquireIEContext() and releaseIEContext(), removed now useless synchronized keyword. In acquireIEContext(), returned the created ieContext + changed all client code to assign a variable from the result. ReplicationDomainTest.java: Avoid NPE in case the ieContext is released before the asserts. Called ReplicationDomain.getImportExportContext(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10113 41b1ffd8-f28e-4786-ab96-9950f0a78031