If a RunOnAllShardsCommand fails, then "code" should be set in the document returned to the user if both of the following conditions hold:
- All shards that return an error have set "code" in the result document.
- "code" has the same value for every shard that returned an error.
- related to
-
SERVER-2212 Server automatically abort queries/commands after user-specified time limit
- Closed