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

gbellato
07.55.2009 99480fcbcb68be6a357f6218668feab697e1a93d
refs
author gbellato <gbellato@localhost>
Tuesday, July 7, 2009 16:55 +0200
committer gbellato <gbellato@localhost>
Tuesday, July 7, 2009 16:55 +0200
commit99480fcbcb68be6a357f6218668feab697e1a93d
tree f5a501854d4e3c24c547d97e7bfccb4df47a65ad tree | zip | gz
parent 401925979dc16f74f794ddd4941f74d0cef770db 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
opends/src/server/org/opends/server/backends/SchemaBackend.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ECLUpdateMsg.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java 21 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/MonitorMsg.java 116 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java 113 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java 11 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ServerStartECLMsg.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ServerStartMsg.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/SocketSession.java 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/StartMsg.java 16 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/TLSSocketSession.java 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/UpdateMsg.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/DataServerHandler.java 10 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ECLServerHandler.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationData.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 34 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java 19 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerHandler.java 5 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java 6 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/ProtocolCompatibilityTest.java 28 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/SynchronizationMsgTest.java 21 ●●●● diff | view | raw | blame | history