[SERVER-83361] Make the parallel thread in direct_shard_connections_server_status.js explicitly close the connection it creates Created: 16/Nov/23  Updated: 17/Nov/23  Resolved: 17/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
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: Cluster Scalability 2023-11-27
Participants:
Linked BF Score: 43

 Description   

Based on BF-30855, there could be a race where the metrics are fetched before the connection is closed. I think we should explicitly close the connection created here.



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

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-83361 Make the parallel thread in direct_shard_connections_server_status.js explicitly close the connection it creates
Branch: master
https://github.com/mongodb/mongo/commit/ffe348035184825723d38f222565ec046653acf3

Generated at Thu Feb 08 06:51:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.