Joseph Wu created MESOS-3299:
--------------------------------
Summary: 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)