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

Matthew Swift
31.07.2013 627cd94899c0bedc90d0248f72b1b224d9209028
refs
author Matthew Swift <matthew.swift@forgerock.com>
Friday, May 31, 2013 11:07 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Friday, May 31, 2013 11:07 +0200
commit627cd94899c0bedc90d0248f72b1b224d9209028
tree 016f4112424e435dad0e975da0f4d9957ad59fbf tree | zip | gz
parent b6537409d04069fe5ea2168e3e61a49c325dff43 view | diff
Additional fix for OPENDJ-875: Use of hostnames in replication protocol causes failover problems

* fix unit test regression introduced by previous commit. RS candidate filtering was too aggressive and assumed that there would only be one RS per JVM, which is not the case in the unit tests

* also use a thread safe set implementation for the local RS ports in order to avoid potential race conditions in unit tests (this may be the cause of occasional RS load balancing unit test failures).

2 files modified
25 ■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java 19 ●●●● diff | view | raw | blame | history