-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Fully Compatible
-
ALL
-
v4.0, v3.6
-
14
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This call is supposed to drop the temporary output collections if anything goes wrong in the command, but in some cases we don't reach there. In particular, I've reproduced a failure where this line can throw an exception due to a stale config. When that happens, the cleanup code doesn't run and the collection is left around.
To fix this, we should use a ScopeGuard to make sure we clean up the temporary collections if we exit the function due to an exception.
- related to
-
SERVER-43477 Complete TODO listed in SERVER-36966
-
- Closed
-
-
SERVER-44211 Complete TODO listed in SERVER-36966
-
- Closed
-