[ https://issues.apache.org/jira/browse/MESOS-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705284#comment-14705284 ]
Joseph Wu commented on MESOS-3299: ---------------------------------- Review: https://reviews.apache.org/r/37655/ > Add a protobuf to represent time with integer precision. > -------------------------------------------------------- > > Key: MESOS-3299 > URL: https://issues.apache.org/jira/browse/MESOS-3299 > Project: Mesos > Issue Type: Task > Reporter: Joseph Wu > Assignee: Joseph Wu > > Existing timestamps in the protobufs use {{double}} to encode time. > Generally, the field represents seconds (with the decimal component to > represent smaller denominations of time). This is less than ideal. > Instead, we should use integers, so as to not lose data (and to be able to > compare value reliably). > Something like: > {code} > message Time { > int64 seconds; > int32 nanoseconds; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)