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

we should ensure implementations of all shims in output binaries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None

      Description

      The MONGO_SHIM macros don't actually verify (at compile, link or startup) that they have implementations. We can't enforce this in the initializer graph (because the point of shim is to let us have unimplemented symbols for unittests), but we should check it for binaries intended for end user consumption.

      This would probably take the form of a initializer than ran after all shims, or an explicit call to some static function that checked against a global registry.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-devtools DO NOT USE - Backlog - Dev Tools
              Reporter:
              jason.carey Jason Carey
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: