-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Service Arch 2022-05-30, Service Arch 2022-06-13, Service Arch 2022-06-27
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
Right now, our usage of MONGO_UNREACHABLE is somewhat overloaded; we use it to represent both
-> "If this code is reached, there is a logic bug" (i.e. default case in an exhaustive switch statement)
and
-> "It wasn't worth implementing this yet and it shouldn't be reachable from production"
It may be useful to distinguish between the two, especially when reading code. We could add a MONGO_UNIMPLEMENTED to disambiguate.