Add warning to index build unexpected error code invariant and only enable in debug builds

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc3, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-09-19, Execution Team 2022-10-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The Unexpected error code during index build shutdown invariant is the symptom of many server crashes and problems.

      Its existence points to a design flaw of two-phase simultanous index builds. However, adding more exemptions to this invariant is also incorrect and should point to a bug.

      Add a warning above this invariant explaining why it is a bad idea to add new exemptions and how to work around this invariant failing.

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

              Created:
              Updated:
              Resolved: