mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
17.43.2013 40c19698a7c27ef73ae26439a962c62e373813a8
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, December 17, 2013 11:43 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, December 17, 2013 11:43 +0100
commit40c19698a7c27ef73ae26439a962c62e373813a8
tree 3cbb676380e931af3e08ed3ec85d2f70a40fd561 tree | zip | gz
parent ab5337e1351979cb8617bdbe1b76c9a696cc8eaa view | diff
OPENDJ-1231 (CR-2724) Make the Medium Consistency Point support replica heartbeats


Checkpoint commit that:
- adds i18n
- improves comments and javadocs
- improved ServerState class to internally use a lock free implementation


replication.properties:
Added 2 error messages.

ServerState.java:
Made the implementation use ConcurrentMap + removed all synchronized blocks + significantly change the code in update(), removeCSN() and toString().
Removed getMaxCSN() (never used).

ServerStateTest.java:
Added asserts to testRemoveCSN().
4 files modified
271 ■■■■ changed files
opends/src/messages/messages/replication.properties 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/common/ServerState.java 207 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/ChangeNumberIndexer.java 41 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/common/ServerStateTest.java 13 ●●●●● diff | view | raw | blame | history