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

verbose query plan output not appearing in system.profile

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Diagnostics, Querying
    • None
    • Fully Compatible
    • ALL

      db.f.drop();
      db.setProfilingLevel(0);
      db.f.ensureIndex({x:1});
      db.system.profile.drop();
      db.setProfilingLevel(2);
      db.f.find({x:1});
      // the execStats here should be included here
      var retval = db.system.profile.findOne({},{query:1, execStats:1});
      assert.neq(retval.execStats.$msg, "query not recording (too large)");
      db.f.find({})
      db.system.profile.find({},{query:1, execStats:1})
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: