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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: