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

Matthew Swift
31.25.2013 5a872b4517410def8b08290ebd0645b053be4e32
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
commit5a872b4517410def8b08290ebd0645b053be4e32
tree 0ef3f73a7a9d6c1e86753b2cfdd848cb4c291ce8 tree | zip | gz
parent f4fe389c8dfda3d27d0724ef954e9a77c3b0b1d1 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
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 44 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 16 ●●●● diff | view | raw | blame | history