Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently in JournalNodeSyncer, we construct the remote JN http server url using the JN host address and the http port that we get from the GetEditLogManifestResponseProto.
if (remoteJNproxy.httpServerUrl == null) { remoteJNproxy.httpServerUrl = getHttpServerURI("http", remoteJNproxy.jnAddr.getHostName(), response.getHttpPort()); }
The correct way would be to get the http server url of the remote JN from the fromUrl field of the GetEditLogManifestResponseProto. This would take care of the http policy set on the remote JN as well.