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

Nicolas Capponi
03.45.2014 2d735189c834108a2e5f7a795610372eb6d00aed
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Tuesday, June 3, 2014 10:45 +0200
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Tuesday, June 3, 2014 10:45 +0200
commit2d735189c834108a2e5f7a795610372eb6d00aed
tree 6399ff150516149d1b9d1047ccec0ea3c60232fc tree | zip | gz
parent e3d3dcc93bd92c47afd75c9ef749a4ac889263e9 view | diff
OPENDJ-1467 :  File Based Changelog must support replicas temporarily leaving the topology

* File-based changelog
Store the offline CSN when a replica goes offline
Read the offline CSN if present to build the changelog state at startup

Update ReplicationEnvironment.java to manage read and write from/to storage
Update ReplicationEnvironmentTest.java with more unit tests
Update replication.properties with new messages

* File and JE based changelog
Remove the offline CSN if present when receiving an heartbeat or an
update message

Update FileChangelogDB.java, JEChangelogDB.java, ReplicationDBEnv.java to
manage online replica notification

* Other minor updates : renaming, comments


10 files modified
582 ■■■■ changed files
opends/src/messages/messages/replication.properties 16 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/file/FileChangelogDB.java 17 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/file/Log.java 27 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/file/ReplicationEnvironment.java 177 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/ChangeNumberIndexer.java 15 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java 17 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/ReplicationDbEnv.java 49 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/file/ReplicationEnvironmentTest.java 256 ●●●● diff | view | raw | blame | history