[SERVER-33229] Overload startParallelShell in auto_retry_on_network_error.js to connect after loading the auto_retry_on_network_error.js override Created: 09/Feb/18  Updated: 29/Oct/23  Resolved: 27/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.6.3
Fix Version/s: 4.0.20, 4.4.0-rc4, 4.2.9, 3.6.20, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: open_todo_in_code, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0, v3.6
Sprint: Sharding 2020-04-20, Sharding 2020-05-04
Participants:
Linked BF Score: 12

 Description   

In the retryable_writes_jscore_stepdown_passthrough, startParallelShell is called with the connection string of the underlying replica set, so it immediately calls connect to set the global db object. If there is a stepdown during connect, the test will fail, because the auto_retry_on_network_error.js override is not loaded yet.

This was also a problem for the main test shell, and it was fixed by starting the shell with --nodb and passing an eval string that calls connect after loading the auto_retry passthrough. startParallelShell should be overriden in auto_retry_on_network_error.js to do the same thing.



 Comments   
Comment by Githook User [ 16/Jul/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-33229 Blacklist tests that use startParallelShell from failover core suites

(cherry picked from commit 1df41757d5d1e04c51eeeee786a17b005e025b93)
Branch: v4.0
https://github.com/mongodb/mongo/commit/1db6c9c8c2ec3859ae941bc3d2170022ae61ea7c

Comment by Githook User [ 16/Jul/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-33229 Blacklist tests that use startParallelShell from failover core suites

(cherry picked from commit 1df41757d5d1e04c51eeeee786a17b005e025b93)
Branch: v4.2
https://github.com/mongodb/mongo/commit/706552f34db7f14f0d468a9d1eefd8f1c98268da

Comment by Githook User [ 16/Jul/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-33229 Blacklist tests that use startParallelShell from failover core suites

(cherry picked from commit 1df41757d5d1e04c51eeeee786a17b005e025b93)
Branch: v3.6
https://github.com/mongodb/mongo/commit/65ff581d7f0eb97ae0b3ecee94e7627bd3dd3ee9

Comment by Githook User [ 30/Apr/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-33229 Blacklist tests that use startParallelShell from failover core suites

(cherry picked from commit 1df41757d5d1e04c51eeeee786a17b005e025b93)
Branch: v4.4
https://github.com/mongodb/mongo/commit/0832b7f863ea766d16c76f94ed9cafdf489d2b54

Comment by Githook User [ 27/Apr/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-33229 Blacklist tests that use startParallelShell from failover core suites
Branch: master
https://github.com/mongodb/mongo/commit/1df41757d5d1e04c51eeeee786a17b005e025b93

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