You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2014/03/25 21:41:15 UTC

[jira] [Created] (MESOS-1145) Store ip addresses in host order throughout the code base

Jie Yu created MESOS-1145:
-----------------------------

             Summary: 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
            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)