-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
Fully Compatible
-
v9.0, v8.3, v8.0, v7.0
-
Storage Execution 2026-08-31
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In cases where we drop unfinished index builds including _id, we rebuild the _id index for collections as a part of startup. If the node then undergoes initial sync, we end up dropping the index and rebuilding it again. We should avoid duplicating the index build effort from building in startup, dropping in initial sync, and possibly building it again in initial sync. We could detect needing to enable this optimization when retrying failed initial syncs.
- is depended on by
-
SERVER-92710 Report an error if an _id index is missing at startup rather than failing to build it
-
- Open
-
- is duplicated by
-
SERVER-96191 Don't rebuild index if we failed an initial sync
-
- Closed
-