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

Add a MONGO_UNIMPLEMENTED

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-05-30, Service Arch 2022-06-13, Service Arch 2022-06-27

    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. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: