-
Type:
Bug
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.6.0-rc0
-
Component/s: Querying
-
Query
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When executing any of the query plan cache commands on a sharded cluster, an extra set of results are returned at the top level. For example, the following output is produced by the planCacheListQueryShapes command in QA/QA-453/query_plan_cache_commands_sharded.js:
{
"shapes" : [
{
"query" : {
"_id" : {
"$lte" : -1
}
},
"sort" : {
},
"projection" : {
}
}
],
"ok" : 1,
"shard0000" : {
"shapes" : [
{
"query" : {
"_id" : {
"$lte" : -1
}
},
"sort" : {
},
"projection" : {
}
}
],
"ok" : 1
},
"shard0001" : {
"shapes" : [
{
"query" : {
"_id" : {
"$gte" : 1
}
},
"sort" : {
},
"projection" : {
}
}
],
"ok" : 1
}
}
The same issue applies to planCacheListPlans.