-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Repl 2018-09-10
We first restart in-progress indexes: https://github.com/mongodb/mongo/blob/a08d6998928720aeea25546dca785f242b6b102d/src/mongo/db/db.cpp#L926 , and then we start replication: https://github.com/mongodb/mongo/blob/a08d6998928720aeea25546dca785f242b6b102d/src/mongo/db/db.cpp#L958
, which is where we check for initial sync. Creating indexes can take a very long time and we should skip this if we're going to go into initial sync immediately.
- is related to
-
SERVER-25075 Building 2dsphere index uses excessive memory
- Closed