lastWriteDate is parsed from isMaster incorrectly

XMLWordPrintableJSON

    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Per https://docs.mongodb.com/manual/reference/command/isMaster/#isMaster.lastWrite, lastWriteDate is contained in a sub-field of lastWrite, but the go driver attempts to parse lastWriteDate as if it were a top-level field.

      This bug exists in 3 places (seems like a separate issue that this logic is duplicated 3 times):

      Separately, it appears opTime in the lastWrite sub-document is also not parsed, despite "server-discovery-and-monitoring.rst" suggesting they should be parsed out (and presumably made available to clients).

              Assignee:
              Isabella Siu (Inactive)
              Reporter:
              David Bartley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: