[SERVER-2766] queries against sys.inprog not showing results properly Created: 16/Mar/11  Updated: 16/Mar/11  Resolved: 16/Mar/11

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 1.8.0-rc2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kenny Gorman Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

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"
}
] }



 Comments   
Comment by Eliot Horowitz (Inactive) [ 16/Mar/11 ]

this is not implemented at all. SERVER-2663 will do so

Generated at Thu Feb 08 03:01:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.