When unknown key is specified on connections URI warning is not returned

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • next
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      MAC OS; Mongodb 3.6.3 and Node.js driver 3.0.4
    • None
    • None
    • None
    • None
    • None
    • None

      When the incorrect options is specified on the collection URI a warning is not returned.

      In the following example "retryBlah" is not a valid option but it does not return a warning.

      MongoClient.connect(“mongodb://localhost:27017,localhost:27018,localhost:27019/?replicaSet=m101&retryBlah=true”, function(err, client) {

      Notice that on the output of NewCreateProducts.js there is no warning!
      Jeegars-MacBook-Pro:nodejs jeegarg$ node NewCreateProducts.js
      Dispatched insert
      { result: { ok: 1, n: 1, opTime:

      { ts: [Timestamp], t: 20 }

      },

            Assignee:
            Katherine Walker (Inactive)
            Reporter:
            Jeegar Ghodasara
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: