Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
ALL
-
Description
Using $out in an aggregation pipeline creates a temporary collection of the form 'tmp.agg.out.n'. The drop operations for these temporary collections can be interrupted, which results in the collections being stored on disk until they're manually cleaned up or until the server is restarted.
The included JS test reproduces the problem by using the checkForInterruptFail failpoint to simulate maxTimeMS timeouts (SERVER-11695).
Edit: The temporary collections are cleaned up if you restart the server, so I corrected the initial description.
Version: 5af9a7433876664ac75bc0345f5903e04b5e1e7f