-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.7.1
-
Component/s: Index Maintenance
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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"
}
}