[SERVER-7630] show which index is being created in current op Created: 12/Nov/12  Updated: 12/Nov/12  Resolved: 12/Nov/12

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ryan Nitz Assignee: Kristina Chodorow (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Below is an index creation entry from currentOp. It would be useful if you could see which index is being created.

{
	"opid" : "shard:662629057",
	"active" : true,
	"secs_running" : 392,
	"op" : "insert",
	"ns" : "foo.system.indexes",
	"query" : {
		
	},
	"client_s" : "10.0.0.1:45643",
	"desc" : "conn185480",
	"threadId" : "0x7f6c3aa96700",
	"connectionId" : 185480,
	"waitingForLock" : false,
	"msg" : "bg index build 3239276/23082274 14%",
	"progress" : {
		"done" : 3239276,
		"total" : 23082274
	},
	"numYields" : 55044,
	"lockStats" : {
		"timeLockedMicros" : {
			"r" : NumberLong(0),
			"w" : NumberLong(151112917)
		},
		"timeAcquiringMicros" : {
			"r" : NumberLong(0),
			"w" : NumberLong(392888451)
		}
	}
}



 Comments   
Comment by Eliot Horowitz (Inactive) [ 12/Nov/12 ]

SERVER-4295

Comment by Kristina Chodorow (Inactive) [ 12/Nov/12 ]

Yes, sounds good.

Comment by Eric Milkie [ 12/Nov/12 ]

kristina I think this could come out of the replication background indexing work – what do you think?

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