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

mongos requires queries on $cmd.sys.inprog to use "admin" database

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Admin, Diagnostics
    • None
    • Fully Compatible
    • ALL
    • Platform 8 08/28/15

      Reproduced with git version 0549805e. Sometime recently mongos began requiring queries on $cmd.sys.inprog to use "admin":

      mongos> use test
      switched to db test
      mongos> db.$cmd.sys.inprog.find().limit(-1)
      { "ok" : 0, "errmsg" : "currentOp may only be run against the admin database.", "code" : 13 }
      

      This is a backwards-compatibility break. mongod of the same version continues to allow any DB, as before.

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: