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.
| | |
| | | { |
| | | try |
| | | { |
| | | rsHandler.send(msg); |
| | | if (rsHandler.getProtocolVersion() >= |
| | | ProtocolVersion.REPLICATION_PROTOCOL_V3) |
| | | { |
| | | rsHandler.send(msg); |
| | | } |
| | | } catch (IOException e) |
| | | { |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, e); |
| | |
| | | startSameGroupIdPoller(); |
| | | } |
| | | startRSHeartBeatMonitoring(); |
| | | startChangeTimeHeartBeatPublishing(); |
| | | if (replServerStartMsg.getVersion() |
| | | >= ProtocolVersion.REPLICATION_PROTOCOL_V3) |
| | | { |
| | | startChangeTimeHeartBeatPublishing(); |
| | | } |
| | | } else |
| | | { |
| | | // Detected new RS with our group id: log disconnection to |