Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49693

Represent replicaSetPingTimeMillis in floating point

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Backport Requested:
      v4.4

      Description

      On replicaSetPingTimeMillis, we pipe it from here for every host we know about. However, IsMasterRTT is in Nanoseconds and replicaSetPingTimeMillis is in Milliseconds. Thus we can get 0 values consistently for colocated hosts and never represent certain hosts in FTDC. Thinking towards the future, we tend to represent time types in floating point for external users, and using floating point here would also make this clearer.

        Attachments

          Activity

            People

            Assignee:
            lamont.nelson Lamont Nelson
            Reporter:
            ben.caimano Benjamin Caimano
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: