Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1215

lastWriteDate is parsed from isMaster incorrectly

    XMLWordPrintable

Details

    • Fully Compatible

    Description

      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).

      Attachments

        Activity

          People

            isabella.siu@mongodb.com Isabella Siu (Inactive)
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: