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

Jean-Noël Rouvignac
01.26.2016 35e456ae00d596ac65b2fabf299ff0a49937fd96
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, August 1, 2016 16:26 +0200
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, August 3, 2016 11:50 +0200
commit35e456ae00d596ac65b2fabf299ff0a49937fd96
tree 19041b09f174a8b79ef21a643f040960f3e53fb0 tree | zip | gz
parent 149df264fb7c9c37e6439d00cc33613f57448ac1 view | diff
OPENDJ-3133 dsreplication status reports M.C. (Missing Changes) when none exist

ReplicaOfflineMsg where incorrectly updating the server state of replicas (DSs).
The fix consists in ensuring the server state are not updated
while still allowing ReplicaOfflineMsgs to be forwarded to the topology.

The proposed change allow ServerWriter.run() to forward ReplicaOfflineMsgs
to other Replication Servers in the topology.

Side-note: here is the call hierarchy showing how the current change still allows ReplicaOfflineMsgs to be forwarded:
org.opends.server.replication.server.MessageHandler.updateServerState(UpdateMsg)
org.opends.server.replication.server.MessageHandler.getNextMessage()
org.opends.server.replication.server.ServerHandler.take()
org.opends.server.replication.server.ServerWriter.run()
1 files modified
10 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/replication/server/MessageHandler.java 10 ●●●● diff | view | raw | blame | history