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

Nicolas Capponi
22.55.2014 df8af541e0b60da31ebd5963d50bb2646fea9846
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, September 22, 2014 11:55 +0200
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, September 22, 2014 11:55 +0200
commitdf8af541e0b60da31ebd5963d50bb2646fea9846
tree 844d7b7c9e1a7873ba718722d20fe04fed53dc3e tree | zip | gz
parent da8bc22192eb85879c3fb440d801a6f3519af3d3 view | diff
OPENDJ-1467 :  File Based Changelog must support replicas temporarily leaving the topology

[Note: real merge of all changelog.file package content to be done in one shot in
a future commit]

* 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

7 files modified
115 ■■■■ changed files
opendj3-server-dev/src/messages/messages/replication.properties 16 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 2 ●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java 2 ●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/server/changelog/file/FileChangelogDB.java 16 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/server/changelog/je/ChangeNumberIndexer.java 15 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java 15 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/server/changelog/je/ReplicationDbEnv.java 49 ●●●● diff | view | raw | blame | history