Investigate whether can try to resume an index build twice during startup recovery

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We do an untimestamped write when writing the resume info to disk on a clean shutdown. If the startIndexBuild oplog entry has an optime after the stable timestamp at shutdown, it might be possible to read the resume info and try to resume the index build even though we'll see the oplog again when replaying the oplog (and start the index build there). We should to investigate if this is possible or not.

            Assignee:
            Benety Goh
            Reporter:
            Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: