You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joris Van Remoortere (JIRA)" <ji...@apache.org> on 2015/08/31 19:34:46 UTC
[jira] [Updated] (MESOS-3299) Add a protobuf to represent time with
integer precision.
[ https://issues.apache.org/jira/browse/MESOS-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van Remoortere updated MESOS-3299:
----------------------------------------
Sprint: Mesosphere Sprint 17
> 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)