MONGOSH does not respect the "notablescan" setting on a mongod

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Declined
    • Priority: Critical - P2
    • No version
    • Affects Version/s: 0.5.0
    • Component/s: Query
    • None
    • Environment:
      mongoDB Atlas, three node replica set running mongoDB server 4.0.20
    • Not Needed

      Queries run against a mongoD cluster with the notablescan option turned on (referred to as "Require Indexes for All Queries" in the Atlas cluster configuration options) do not respect this option when enabled. I am able to perform both filter and sort queries against fields that are not indexed.

      A very simple query against my cluster: db.posting.find({},{cd:1}).limit(1).sort({cd:1}) . cd is not indexed, though this query goes through.

            Assignee:
            Unassigned
            Reporter:
            Jason Ford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: