[SERVER-27699] Capture actual error from getExecutor Created: 17/Jan/17  Updated: 06/Dec/17  Resolved: 06/Jul/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.5.10

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Natalia Jacobowitz
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2017-07-10
Participants:

 Description   

After getExecutor() was enhanced to return an actual Status instead of a bool, not all callers were changed to capture and return this new status. For example, today, the geoNear command can still return this:

{ waitedMS: 0, ok: 0.0, errmsg: ”can’t get query executor” }

I believe the mapReduce command has similar issues.



 Comments   
Comment by Githook User [ 06/Jul/17 ]

Author:

{u'name': u'Natalia Jacobowitz', u'email': u'nataliajacobowitz@MacBook-Pro-107.local'}

Message: SERVER-27699 Capture actual error from getExecutor
Branch: master
https://github.com/mongodb/mongo/commit/6bea80a6dd1b5e41103e7a1d3b8a6ecd6ae22cd6

Generated at Thu Feb 08 04:15:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.