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

Add a MONGO_UNIMPLEMENTED

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2022-05-30, Service Arch 2022-06-13, Service Arch 2022-06-27

      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. 

            Assignee:
            erin.mcnulty@mongodb.com Erin McNulty
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: