[SERVER-37385] Change max_time_ms.js to tolerate 'Interrupted' error codes Created: 28/Sep/18  Updated: 29/Oct/23  Resolved: 02/Oct/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.6.10, 4.0.5, 4.1.4

Type: Improvement Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Query 2018-10-08
Participants:
Linked BF Score: 0

 Description   

max_time_ms.js was modified to accept "InternalError" as part of SERVER-35514, because interrupting Javascript execution on the server with a stepdown or timeout may cause that error code. Interrupting javascript execution may also result in an "Interrupted" error code, so we should extend the test to tolerate that as well.



 Comments   
Comment by Githook User [ 16/Nov/18 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@10gen.com'}

Message: SERVER-37385 make max_time_ms.js even more robust

(cherry picked from commit 5978c283adec32042f66fe6730f88a16e563ef86)
Branch: v3.6
https://github.com/mongodb/mongo/commit/190c87c645c4940f77335c8b90c5ee4f99460bdc

Comment by Githook User [ 09/Nov/18 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@10gen.com'}

Message: SERVER-37385 make max_time_ms.js even more robust

(cherry picked from commit 5978c283adec32042f66fe6730f88a16e563ef86)
Branch: v4.0
https://github.com/mongodb/mongo/commit/b257ef07bfc7f6a3b836ce97a09400e6df002f53

Comment by Githook User [ 02/Oct/18 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@10gen.com'}

Message: SERVER-37385 make max_time_ms.js even more robust
Branch: master
https://github.com/mongodb/mongo/commit/5978c283adec32042f66fe6730f88a16e563ef86

Comment by David Storch [ 01/Oct/18 ]

ian.boros can you please fill out the description of this ticket with the justification for the proposed change?

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