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

small FailPoint improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 4.0.0, 4.1.1
    • Internal Code
    • None
    • Fully Compatible
    • v4.0
    • Platforms 2018-06-04

    Description

      macros:
      MONGO_FP_DECLARE
      MONGO_FP_FORWARD_DECLARE

      FP should say FAIL_POINT to avoid confusion with floating point, etc.
      DECLARE is really a definition
      FORWARD_DECLARE is really a declaration.

      The docs are a little technically wrong when they refer to scope.
      The C++ emitted by the macro uses identifiers without full scope qualification.

      These are all easily fixed.

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: