Avoid full index rebuild during startup when crashing after commit

XMLWordPrintableJSON

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

      If a node crashes after committing and index build, but before that write makes it into a checkpoint, startup recovery will require a full index rebuild before the node is available again. This can be catastrophic if a node crashes immediately after committing an index build.

      We should evaluate a targeted, backportable solution for avoiding this worst-case recovery scenario. For example, could we persist resume info after finishing the index build and before voting for commit?

            Assignee:
            Unassigned
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: