[SERVER-11361] RunOnAllShardsCommand::run() should set "code" on error, if appropriate Created: 24/Oct/13  Updated: 11/Jul/16  Resolved: 31/Oct/13

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.5.3
Fix Version/s: 2.5.4

Type: Improvement Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-2212 Server automatically abort queries/co... Closed
Participants:

 Description   

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.


 Comments   
Comment by auto [ 31/Oct/13 ]

Author:

{u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-11361 RunOnAllShardsCommand::run() can set "code" on error
Branch: master
https://github.com/mongodb/mongo/commit/4089f1eb9ea9982558b19c206643405615fec5f2

Generated at Thu Feb 08 03:25:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.