Details
-
Bug
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
ALL
-
-
Storage NYC 2018-06-18, Storage NYC 2018-07-02
-
0
Description
If there are multiple oplog entries in the applyOps command, the profiling level of the db in the later entries will be set to the highest profiling level of the db in the previous entries because of https://github.com/mongodb/mongo/blob/0109767b6962d18b60d89a723c0087cf27d370e3/src/mongo/db/curop.cpp#L273.
This bug caused BF-8147. Although our current code base of renameCollection (only v3.6 was tested) won't trigger the code path that caused this bug, there could be other commands that trigger it.