Allow skipping rebuilding indexes during startup on failed initial syncs

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • 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.

            Assignee:
            Unassigned
            Reporter:
            Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: