Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3299

Add a protobuf to represent time with integer precision.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.25.0
    • None
    • None
    • Mesosphere Sprint 17
    • 1

    Description

      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:

      message Time {
        int64 seconds;
        int32 nanoseconds;
      }
      

      Attachments

        Activity

          People

            kaysoky Joseph Wu
            kaysoky Joseph Wu
            Vinod Kone Vinod Kone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: