Leave index builds unfinished when aborted due to rollback or local failure

XMLWordPrintableJSON

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

      When a two-phase index build is torn down and the node is no longer primary, we remove the durable catalog entry using a ghost timestamp. This works, because this ghost write is always rolled back.

      We should leave the index build unfinished it is aborted due to rollback or local failure. By "local failure", I am referring to the case where an index build fails on a secondary, but not from an explicit abortIndexBuild oplog entry.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Louis Williams
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: