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

gbellato
29.15.2009 4752e264607ac01695f6644d71f21cf409de6064
Fix for issue 4252 : Replication failures between OpenDS 2.0 and 2.1

Some new PDUs where added in 2.1 and therefore are not processed correctly by 2.0 servers.
This fix makes sure that they are not sent in such case.
2 files modified
12 ■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 6 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java 6 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
@@ -3075,7 +3075,11 @@
        {
          try
          {
            rsHandler.send(msg);
            if (rsHandler.getProtocolVersion() >=
              ProtocolVersion.REPLICATION_PROTOCOL_V3)
            {
              rsHandler.send(msg);
            }
          } catch (IOException e)
          {
            TRACER.debugCaught(DebugLogLevel.ERROR, e);
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
@@ -524,7 +524,11 @@
                 startSameGroupIdPoller();
                }
                startRSHeartBeatMonitoring();
                startChangeTimeHeartBeatPublishing();
                if (replServerStartMsg.getVersion()
                    >= ProtocolVersion.REPLICATION_PROTOCOL_V3)
                {
                  startChangeTimeHeartBeatPublishing();
                }
              } else
              {
                // Detected new RS with our group id: log disconnection to