Warn if ServerDescription::getLastUpdateTime() must be truncated

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.13.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As is done for WriteConcern's wTimeoutMS field (PHPC-1411), we should raise a warning if ServerDescription::getLastUpdateTime() truncates a 64-bit value on a 32-bit platform. Additionally, the field can be reported as a string instead of an integer in ServerDescriptions debug info (i.e. var_dump() and var_export()).

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: