Details
-
Bug
-
Resolution: Won't Do
-
Major - P3
-
None
-
2.6.0-rc0
-
Query
-
ALL
-
Description
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.