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

Only define stubs in community build, do nothing for enterprise

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 3.5.11
    • None
    • Logging
    • None
    • Fully Compatible
    • Platforms 2017-07-31

    Description

      We currently have the audit methods in up to three places (depending on build) with their prototypes existing twice (in audit.cpp and audit.h)

      Make audit.cpp a stub-only file (for non-enterprise builds) and define free functions out-of-namespace so that we catch mismatches more quickly. For example: The following two methods existed in audit.cpp only with no header declaration in audit.h nor an implementation in enterprise. We can now catch that properly.

      parseAndRemoveImpersonatedUsersField()
      parseAndRemoveImpersonatedRolesField()

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: