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.
- is related to
-
SERVER-46989 Index builds should hold RSTL to prevent replication state changes after deciding to commit or abort
- Closed
-
SERVER-47605 Single-phase index builds should only check constraint violations upon completion
- Closed