[SERVER-66345] Add a MONGO_UNIMPLEMENTED Created: 10/May/22  Updated: 29/Oct/23  Resolved: 22/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: George Wangensteen Assignee: Erin McNulty
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-05-30, Service Arch 2022-06-13, Service Arch 2022-06-27
Participants:

 Description   

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. 



 Comments   
Comment by Githook User [ 23/Jun/22 ]

Author:

{'name': 'Erin McNulty', 'email': 'erin.mcnulty@mongodb.com', 'username': 'erin2722'}

Message: SERVER-66345: Add a MONGO_UNIMPLEMENTED
Branch: davish/SERVER-63099
https://github.com/mongodb/mongo/commit/43efa77bd3107e1f72f7efbb0ef11fc2b07e2c13

Comment by Githook User [ 21/Jun/22 ]

Author:

{'name': 'Erin McNulty', 'email': 'erin.mcnulty@mongodb.com', 'username': 'erin2722'}

Message: SERVER-66345: Add a MONGO_UNIMPLEMENTED
Branch: master
https://github.com/mongodb/mongo/commit/43efa77bd3107e1f72f7efbb0ef11fc2b07e2c13

Generated at Thu Feb 08 06:05:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.