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

show which index is being created in current op

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Indexing
    • Labels:
      None

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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: