-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.0.12
-
Component/s: Diagnostics, Networking
-
None
-
ALL
-
- compile the server with ASAN
- run the server under ASAN
- open a shell and connect to the server
- shut the server down while the shell is still connected
-
Platforms 2016-09-19, Platforms 2016-10-10, Platforms 2016-10-31, Platforms 2016-11-21
-
0
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
When running under ASAN, we will leak memory if we shut down with open connections. We need to shut down more gracefully when running under ASAN.
This work has been done in master across several commits:
- wait for listener threads to end (
SERVER-24250) dbbd2d128430c24b1d5679b045a7014f4e1769ae - wait for listener jobs to drain (
SERVER-25572) 07020e0b0cadf1639824f985a3ae6ce09d4c5ee8 - polyfill future (
SERVER-19099) 6abd1d0e9cdc691e6daf30ce3316ffb820b9bb70 and 896c568ab136c9735482a59abcab499bda997565 - unify exit handling (
SERVER-23103) 4d6dd3b4359dc3cc8145beb10e54f84353689351