Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
4.4.5, 4.4.6
-
None
-
OS: Windows 10 20H2
-
Fully Compatible
-
ALL
-
v5.0, v4.4
-
- Install mongodb community server version 4.4.x (tested with 4.4.0, 4.4.5, 4.4.6).
- Issue command: db.adminCommand({ logRotate: 1 })
- Check file handles for mongod process with resmon.exe (see screenshot)
-
Security 2021-07-26, Security 2021-08-09
Description
I found that mongod.exe does not release file handles to rotated log files beginning with mongo version 4.4.0.
This is a problem because I am not able to delete old rotated logs any more with nodejs or any other tool that aquires file handles with SHARED flags.