[SERVER-35275] small FailPoint improvements Created: 29/May/18  Updated: 29/Oct/23  Resolved: 30/May/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.0.0, 4.1.1

Type: Improvement Priority: Trivial - P5
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Platforms 2018-06-04
Participants:

 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.



 Comments   
Comment by Githook User [ 11/Jun/18 ]

Author:

{'username': 'BillyDonahue', 'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com'}

Message: SERVER-35275 rename fail point FP macros, improve docs

(cherry picked from commit e7fd01e0293bbb46b330ba00819ceaa638e88921)
Branch: v4.0
https://github.com/mongodb/mongo/commit/f644e87da7a39fbd0eaa850eadf5b7b510719f13

Comment by Githook User [ 30/May/18 ]

Author:

{'username': 'BillyDonahue', 'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com'}

Message: SERVER-35275 rename fail point FP macros, improve docs
Branch: master
https://github.com/mongodb/mongo/commit/e7fd01e0293bbb46b330ba00819ceaa638e88921

Comment by Billy Donahue [ 29/May/18 ]

http://mongodbcr.appspot.com/206490002

Generated at Thu Feb 08 04:39:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.