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

Jean-Noel Rouvignac
06.03.2013 4b02c5f2c1450b7d44022c6ea52260823ae39686
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
commit4b02c5f2c1450b7d44022c6ea52260823ae39686
tree e9f5ed2484b6d78fc266ccb80cd60b3c4a3ac50a tree | zip | gz
parent a95e7c21293142583e48517c9b30adbf2d4ace73 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
opendj-sdk/opends/src/messages/messages/replication.properties 5 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/replication_de.properties 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/replication_es.properties 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/replication_fr.properties 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/replication_ja.properties 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/replication_zh_CN.properties 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java 260 ●●●●● diff | view | raw | blame | history