[SERVER-56446] Can't use ReplSetTest.restart() in _auth suites with waitForConnect: false Created: 28/Apr/21  Updated: 29/Oct/23  Resolved: 15/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.2, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-06-28
Participants:

 Description   

The ReplSetTest.restart() command attempts to re-authenticate any restarted connections. This conflicts with the waitForConnect: false flag since the connection will not be available in that case. The restart() method should not attempt to re-authenticate when waitForConnect: false is specified.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 25/Jul/21 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-56446 Do not reauthenticate in ReplSetTest.restart() if 'waitForConnect=false' is specified

(cherry picked from commit db5ca00459eb05bea982cbf858d2cbdfb1ef221b)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1dd2f1ae01d85c27c1ff1b5bfcbe69285bb84010

Comment by Githook User [ 16/Jun/21 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-56446 Do not reauthenticate in ReplSetTest.restart() if 'waitForConnect=false' is specified
Branch: SERVER-34632
https://github.com/mongodb/mongo/commit/db5ca00459eb05bea982cbf858d2cbdfb1ef221b

Comment by Githook User [ 15/Jun/21 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-56446 Do not reauthenticate in ReplSetTest.restart() if 'waitForConnect=false' is specified
Branch: master
https://github.com/mongodb/mongo/commit/db5ca00459eb05bea982cbf858d2cbdfb1ef221b

Generated at Thu Feb 08 05:39:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.