[
https://issues.apache.org/jira/browse/MESOS-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominic Hamon updated MESOS-1145:
---------------------------------
Component/s: technical debt
> Store ip addresses in host order throughout the code base
> ---------------------------------------------------------
>
> Key: MESOS-1145
> URL: https://issues.apache.org/jira/browse/MESOS-1145
> Project: Mesos
> Issue Type: Task
> Components: technical debt
> Reporter: Jie Yu
> Priority: Minor
>
> Currently, we store ip addresses in network order. For example, in UPID.
> This is not the standard way to do it. We should always store the ip/port in
> host order and convert then into network order when packing them into
> sockaddr_in.
> The change is not trivial because we store MasterInfo in ZooKeeper for master
> detection and MasterInfo contains a required uint32 ip field. We need to be
> carefully for backward compatibility.
--
This message was sent by Atlassian JIRA
(v6.2#6252)