Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3528

An ismaster reply containing "msg" is considered a mongos regardless of the value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 1.17.0-beta, 1.17.0
    • libmongoc
    • None

    Description

      A slight deviation from the SDAM spec, but in parsing an ismaster reply, libmongoc always considers the existence of the field "msg" to indicate the server is a mongos.

      But the SDAM spec is explicit in that the value should be "isdbgrid".

      I don't believe there is any current bug that could surface from this, as I'm not aware of servers ever reporting "msg" with another value. But it could foreseeably change (e.g. as suggested in SERVER-3353).
       

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: