-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.4.9, 2.6.0-rc0
-
Component/s: Aggregation Framework, Sharding
-
Fully Compatible
-
ALL
We have a cluster with a 2.6 mongos, a 2.6 mongod as one shard, and a 2.4 as a second shard. We expect the following query to cause an error:
> db.coll.aggregate([{ "$project" : { "_id" : "$_id" }}], { explain: true })
However, the error message we get back is 'unrecognized field "cursor,"' when it really could be something more helpful like "explain is not supported for aggregation queries on mixed-version clusters."
- related to
-
SERVER-12760 Running aggregation query with $explain in mixed setup causes assertion error
- Closed