Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
When an aggregation pipeline fails on a shard, we wrap the message in mongos, but the wrapping doesn't propagate the error code, just the wrapped message string. See https://groups.google.com/forum/?fromgroups#!topic/mongodb-user/BhKG6B3EAVA for an example.