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

show which index is being created in current op

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None

      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)
      		}
      	}
      }
      

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: