-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:None
-
Replication
-
ALL
In 3.6 we started replicating createIndexes as a command. Commands get applied under the global exclusive lock: https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/sync_tail.cpp#L394-L405.
I think this means we're now applying createIndexes oplog entries under a global exclusive lock which could take a long time.