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

Matthew Swift
31.25.2013 30cdaded4aa75d49c663640e5d6659228e0ca1a9
refs
author Matthew Swift <matthew.swift@forgerock.com>
Friday, May 31, 2013 19:25 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Friday, May 31, 2013 19:25 +0200
commit30cdaded4aa75d49c663640e5d6659228e0ca1a9
tree e457ea3b7e0b9487853399f407309f311de7a066 tree | zip | gz
parent 3f634dadf79de79f66cf066b0184714e34606f5d view | diff
Fix for OPENDJ-875: Use of hostnames in replication protocol causes failover problems

* Set the RS URL by first checking the list of configured replication servers to see if any correspond to the local host / port. If a match is found then it is used, otherwise we fall back to the old mechanism which was to perform a name lookup of /etc/hostname.
2 files modified
60 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 44 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 16 ●●●● diff | view | raw | blame | history