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

Jean-Noel Rouvignac
06.03.2013 990c9f58e0e277fb0086b57eb3a6ff74cfb6cddf
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 6, 2013 14:03 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 6, 2013 14:03 +0100
commit990c9f58e0e277fb0086b57eb3a6ff74cfb6cddf
tree e99ab36938d8ef4ac5b4c56d75920bd9b6ae549f tree | zip | gz
parent 33db777770ba0a2e612d60d26a4e44f280263201 view | diff
OPENDJ-66 (CR-1368) DS does not failover between replication servers in different groups when configured explicitly for one of the groups 

ReplicationBroker.java:
In connectAsDataServer(), removed following useless if statement (root cause for the bug):
// Really no other server with our group id ?
if ((tmpRsGroupId == groupId) || (!someServersWithSameGroupId))

Extracted method connectToReplicationServer() in connectAsDataServer().
Removed hasSomeServerWithSameGroupId().
7 files modified
280 ■■■■■ changed files
opends/src/messages/messages/replication.properties 5 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/replication_de.properties 3 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/replication_es.properties 3 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/replication_fr.properties 3 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/replication_ja.properties 3 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/replication_zh_CN.properties 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java 260 ●●●●● diff | view | raw | blame | history