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

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

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • 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@mongodb.com Benety Goh
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: