28 Jun, 2013
1 commit
-
Switched Boolean to boolean. Fixed javadocs. git-svn-id: https://svn.forgerock.org/opendj/trunk@9105 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jun, 2013
6 commits
-
Extracted methods setPathProperty(), setBooleanProperty(), isPropertyTrue(). *Test.java: Made things more explicit. git-svn-id: https://svn.forgerock.org/opendj/trunk@9100 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
More javadoc/code cleanup. Switched (excluded)serviceIDs/excludedDomains from List to Set. git-svn-id: https://svn.forgerock.org/opendj/trunk@9097 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9094 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
More javadoc/code cleanup. Removed useless null checks. git-svn-id: https://svn.forgerock.org/opendj/trunk@9093 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixed checkstyle issues. git-svn-id: https://svn.forgerock.org/opendj/trunk@9092 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Javadoc / code cleanups. git-svn-id: https://svn.forgerock.org/opendj/trunk@9089 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Jun, 2013
12 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9085 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Used interfaces instead of concrete classes. git-svn-id: https://svn.forgerock.org/opendj/trunk@9083 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Used interfaces instead of concrete classes. git-svn-id: https://svn.forgerock.org/opendj/trunk@9082 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixed typos. In findAndRenameChild(), removed a useless parameter. git-svn-id: https://svn.forgerock.org/opendj/trunk@9081 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added comments + turned comments into javadocs. git-svn-id: https://svn.forgerock.org/opendj/trunk@9080 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9078 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9077 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9076 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9075 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…orkflowelement.localbackend package (clearly not public API). AccessControlHandler.java: Made the code a bit more generic by using the interfaces instead of the concrete LocalBackend*Operation classes. I could not change them all, because methods specific to LocalBackend*Operation classes are sometimes called. Not sure how to fix that fully. *.java: Consequence of the changes to AccessControlHandler. git-svn-id: https://svn.forgerock.org/opendj/trunk@9074 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed unused methods getCommonLogElements(), getRequestLogElements() and getResponseLogElements(). *.java: Consequence of the change to Operation. git-svn-id: https://svn.forgerock.org/opendj/trunk@9073 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9072 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Jun, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9063 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9062 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Adjust SVR4 layout according to the changes done for Linux packages. git-svn-id: https://svn.forgerock.org/opendj/trunk@9058 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
replication.properties: Fixed grammar mistakes. git-svn-id: https://svn.forgerock.org/opendj/trunk@9057 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Jun, 2013
3 commits
-
Fixed checkstyle error git-svn-id: https://svn.forgerock.org/opendj/trunk@9045 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
-
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
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
-
- 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
20 Jun, 2013
4 commits
-
… OpenDJ 2.4.6 to OpenDJ 2.6.0 * add upgrade task which notifies the user that they must rebuild the ds-sync-hist ordering index when upgrading from 2.5.0-Xpress1. git-svn-id: https://svn.forgerock.org/opendj/trunk@9016 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The issue was triggered by the mix of AssuredReplication and bad network conditions, which resulted in a deadlock between 2 RS, as both were blocked on writing to the TCP socket and not reading (because waiting on the write lock). The solution (more of a workaround) is to have another thread for sending data to the socket and have the reader and writer posting data to send to a queue that this new thread is polling. There are still potential deadlocks but they will occur much later, if the sendQueue gets full. The code needs more work post 2.6 to be fully non blocking, but the changes are enough for now to resolve the customer deadlock case. git-svn-id: https://svn.forgerock.org/opendj/trunk@9015 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* use a larger DB cache (16MB vs 5MB) when using larger DB buffers git-svn-id: https://svn.forgerock.org/opendj/trunk@9014 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… OpenDJ 2.4.6 to OpenDJ 2.6.0 Revert changes to matching rule which were applied in r7640. git-svn-id: https://svn.forgerock.org/opendj/trunk@9013 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
18 Jun, 2013
1 commit
-
…V/-F/-s on an instance not configured git-svn-id: https://svn.forgerock.org/opendj/trunk@9002 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Jun, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8997 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
13 Jun, 2013
1 commit
-
… replication and hostSource is typed incorrectly - removed 'the host/remote server' && fix typo in _ERR_CANNOT_CONNECT_TO_REMOTE_COMMUNICATION git-svn-id: https://svn.forgerock.org/opendj/trunk@8992 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Jun, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8991 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
-
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