Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-95479

Allow skipping rebuilding indexes during startup on failed initial syncs

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: