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

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

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

      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@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: