[SERVER-31724] Call TransportLayer shutdown during normal server shutdown Created: 25/Oct/17  Updated: 30/Oct/23  Resolved: 02/Nov/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.0-rc3

Type: Bug Priority: Major - P3
Reporter: Jonathan Reams Assignee: Jonathan Reams
Resolution: Fixed Votes: 0
Labels: on-prem-3.5.6
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-11-13
Participants:

 Description   

In the shutdown task we are still closing the listening sockets with

    log(LogComponent::kNetwork) << "shutdown: going to close listening sockets...";
    ListeningSockets::get()->closeAll();

which doesn't do anything for TransportLayerASIO. We should just shutdown the TransportLayer here instead.



 Comments   
Comment by Githook User [ 02/Nov/17 ]

Author:

{'name': 'Jonathan Reams', 'username': 'jbreams', 'email': 'jbreams@mongodb.com'}

Message: SERVER-31724 Call TransportLayer shutdown during normal server shutdown
Branch: master
https://github.com/mongodb/mongo/commit/acdd51da0bda6f8bb723dd23096306a3453c8804

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