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

small FailPoint improvements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0, 4.1.1
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      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

            Assignee:
            billy.donahue Billy Donahue
            Reporter:
            billy.donahue Billy Donahue
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: