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

gbellato
22.56.2007 698acc05bd454ec83c21ae93ecdcf168bf7ed16d
refs
author gbellato <gbellato@localhost>
Wednesday, August 22, 2007 15:56 +0200
committer gbellato <gbellato@localhost>
Wednesday, August 22, 2007 15:56 +0200
commit698acc05bd454ec83c21ae93ecdcf168bf7ed16d
tree e76d0c947b91948e91a2b1dd9649f3c789b5d8a0 tree | zip | gz
parent 8327d0738698295f514dcd8e59ce9410f9aa23c7 view | diff
issue 2119 : replication servers do not connect to each other when using setup

When using the setup to configure 2 servers in multimaster mode.
The setup first creates the configuration of the first server and start it
When the second setup is run to configure the second server, the setup updates
the configuration of the replication-server on the first server, however the code for handling this dynamic configuration was not yet written and this
information is not taken into account.

The replication servers are therefore not connected and the replication server
on the new host therefore does not get the updates.

These changes implement the dynamic configuration of replication servers so that
the same scenario works fine.

The only properties that is now not dynamically configurable is the
path of the changelog database.

A new test has been added for these changes.
I've also tested manually that this does fix the replication server problem
after configuration using the setup program.
1 files added
2 files modified
177 ■■■■■ changed files
opendj-sdk/opends/src/messages/messages/replication.properties 8 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 82 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerDynamicConfTest.java 87 ●●●●● diff | view | raw | blame | history