queries against sys.inprog not showing results properly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.8.0-rc2
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The query below does not filter out "waitingForLock":true

      1.8.0 rc2 client
      1.7.0 server

      share:PRIMARY> db.$cmd.sys.inprog.find(

      {"waitingForLock":true}

      ).sort(

      {"secs_running":1}

      )
      { "inprog" : [

      { "opid" : 4745, "active" : true, "waitingForLock" : false, "secs_running" : -1949605, "op" : "none", "ns" : "?hare_mspmigration.PageStats", "client" : "(NONE)", "desc" : "rs_sync" }

      ,

      { "opid" : 308041363, "active" : true, "lockType" : "read", "waitingForLock" : false, "secs_running" : 0, "op" : "getmore", "ns" : "local.oplog.rs", "client" : "172.16.132.37:35091", "desc" : "conn" }

      ,

      { "opid" : 308041364, "active" : true, "lockType" : "read", "waitingForLock" : false, "secs_running" : 0, "op" : "getmore", "ns" : "local.oplog.rs", "client" : "172.16.132.36:50714", "desc" : "conn" }

      ,
      {
      "opid" : 308041362,
      "active" : true,
      "lockType" : "read",
      "waitingForLock" : false,
      "secs_running" : 0,
      "op" : "query",
      "ns" : "share_mspmigration.SiteElement",
      "query" :

      { "lid" : "site/jaydens2/_site" }

      ,
      "client" : "172.16.193.2:1233",
      "desc" : "conn"
      }
      ] }

            Assignee:
            Unassigned
            Reporter:
            Kenny Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: