-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28, Service Arch 2022-12-12
We store all MongoDB error codes in this file, including those that are intended for clients (e.g., AuthenticationFailed) and those that are solely for internal consumption (e.g., PeriodicJobIsStopped).
Marking the subset of error codes that should not be visible to clients will prevent potential issues caused by leakage of internal error codes to clients. One possible solution is to introduce a new ErrorCategory (e.g., InternalError) and invariant prior to transmitting error codes over the network.
- causes
-
SERVER-73819 DBDirectClient operations interrupted with internal-only exceptions will tripwire
- Closed
- depends on
-
SERVER-50931 Create an error category for InternalOnly errors
- Closed
- is related to
-
SERVER-69634 Allow Missing Parsers For ErrorExtraInfo for InternalOnly ErrorCodes
- Closed
- related to
-
SERVER-71966 Investigate InternalOnly leaks
- Backlog