[SERVER-62151] Restarting the node could trigger rollback which closes the client connection and fail x509_cluster_auth_rollover.js Created: 17/Dec/21  Updated: 29/Oct/23  Resolved: 17/Dec/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Bug Priority: Major - P3
Reporter: Wenbin Zhu Assignee: Wenbin Zhu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Replication 2021-12-27
Participants:
Linked BF Score: 20

 Description   

theĀ x509_cluster_auth_rollover.js restarts the node and issues a auth request to it, but it's possible that the node needs to go through rollback after being restarted, so the auth request connection will be closed due to rollback and hence fails the test.



 Comments   
Comment by Githook User [ 17/Dec/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-62151 Wait for secondary nodes to finish recovery before authenticating to avoid rollback closing connection.
Branch: master
https://github.com/mongodb/mongo/commit/a15cc2777de702839e9df7ddb6742a9ea9cf9132

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