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

gbellato
07.55.2009 eda7348afddae441f1297ca1b877817b18152552
refs
author gbellato <gbellato@localhost>
Tuesday, July 7, 2009 16:55 +0200
committer gbellato <gbellato@localhost>
Tuesday, July 7, 2009 16:55 +0200
commiteda7348afddae441f1297ca1b877817b18152552
tree 4bc0828174be6a158f31e1a8ce248743a54fa476 tree | zip | gz
parent 9a3c2aa661a2e88ee90ef3e42ca882b2d9dde7cf view | diff
Fix for 4096 MonitorMsg is not compatible with replication version

This fix restore the compatibility by using either format depending
on the protocol version.
After this fix the trunk is now compatible with 1.0 and 2.0
but not with 1.2 since there is no way to make the difference between the
2 versions of the replication protocol (1.2 and 2.0 both use version 2
of the replication protocol but don't encode MonitorMsg the same way)

This fix also add a trick in the schema backend so that the schema
from 00-core is not replicated.

Gilles
23 files modified
477 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ECLUpdateMsg.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java 21 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/MonitorMsg.java 116 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java 8 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java 113 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java 11 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ServerStartECLMsg.java 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ServerStartMsg.java 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/SocketSession.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/StartMsg.java 16 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/TLSSocketSession.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/UpdateMsg.java 15 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/DataServerHandler.java 10 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationData.java 6 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 34 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java 19 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerHandler.java 5 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java 6 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/ProtocolCompatibilityTest.java 28 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/SynchronizationMsgTest.java 21 ●●●● diff | view | raw | blame | history