Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14964

nscanned not written to the logs at logLevel 1 unless slowms exceeded or profiling enabled

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.5, 2.7.7
    • Affects Version/s: 2.6.4
    • Component/s: Logging, Querying
    • None
    • ALL

      I'm not sure what the common element here is but I see lots of queries output to the logs without nscanned (or nscannedObjects).

      2014-08-14T20:38:44.165+0000 [conn5704] query appdata.Activity query: { $or: [ { _acl: { $exists: false } }, { _acl.a.r: true }, { _acl.b.r: true } ], _id: "" } planSummary: IXSCAN { _id: 1 } ntoskip:0 keyUpdates:0 numYields:0 locks(micros) r:552 nreturned:0 reslen:20 0ms
      

        1. nscanned_vs_not.png
          76 kB
          Thomas Rueckstiess

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: