[SERVER-13915] broken indexStats command Created: 12/May/14  Updated: 12/May/14  Resolved: 12/May/14

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

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

test@local(2.7.1-pre-) > db.serverCmdLineOpts()
{
	"argv" : [
		"./mongod",
		"--dbpath",
		"/data/dbIdxPatch",
		"--port",
		"47017",
		"--enableExperimentalIndexStatsCmd"
	],
	"parsed" : {
		"enableExperimentalIndexStatsCmd" : true,
		"net" : {
			"port" : 47017
		},
		"storage" : {
			"dbPath" : "/data/dbIdxPatch"
		}
	},
	"ok" : 1
}

I started mongod with enableExperimentalIndexStatsCmd but yet:

db.idxBuild.getIndexStats({index: "arr.f_1"}, true)
this command requires starting mongod with --enableExperimentalIndexStatsCmd
error executing indexStats command: {
	"ok" : 0,
	"errmsg" : "no such cmd: indexStats",
	"code" : 59,
	"bad cmd" : {
		"indexStats" : "idxBuild",
		"index" : "arr.f_1"
	}
}



 Comments   
Comment by Asya Kamsky [ 12/May/14 ]

never mind, just saw SERVER-13555 Disable indexStats command

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