Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
2.5.2
Description
Interrupting a Javascript operation currently sets the operation's error code to any of: 16711, 16712, 13475, 16721.
Javascript interruption should use the same error codes that other server operations use on interruption (currently 11600/11601/50 for shutdown/killop/maxtime). This would allow drivers to more easily detect the type of failure mode and propagate the appropriate exception to the application.
Attachments
Issue Links
- is duplicated by
-
SERVER-12764 Using maxTimeMS & Javascript can lead to different errors from the server
-
- Closed
-
- related to
-
SERVER-2212 Server automatically abort queries/commands after user-specified time limit
-
- Closed
-