[SERVER-58119] single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept Created: 28/Jun/21  Updated: 29/Oct/23  Resolved: 29/Jun/21

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

Type: Bug Priority: Major - P3
Reporter: Vishnu Kaushik Assignee: Vishnu Kaushik
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
Operating System: ALL
Backport Requested:
v5.0, v4.4, v4.2, v4.0
Participants:
Linked BF Score: 21

 Description   

After the node changes state to REMOVED, it closes all of its connections. However, since there is a delay between the state transition and when connections are closed, we may find that the connection is closed when we arrive at the replSetReconfig command. This line needs to be wrapped in an assert.soonNoExcept to handle a potentially closed connection.



 Comments   
Comment by Githook User [ 15/Nov/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58119 single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept
Branch: v4.4
https://github.com/mongodb/mongo/commit/0b01caf40a5a610685c0bf590ff2fa54aadd0443

Comment by Githook User [ 15/Nov/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58119 single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept
Branch: v4.2
https://github.com/mongodb/mongo/commit/38c21f135436e691cd95577e4e81ec87fd8f6879

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 [ 11/Aug/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58119 single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept
Branch: v5.0
https://github.com/mongodb/mongo/commit/f90d7a9b3e85930fe04376fab31dda639142bd5a

Comment by Githook User [ 29/Jun/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58119 single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept
Branch: master
https://github.com/mongodb/mongo/commit/91b465bf19cc0c501dd15407bc4d35835ccc0ff2

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