[SERVER-77327] Rename verify() to MONGO_verify() to avoid name clashes Created: 19/May/23 Updated: 29/Oct/23 Resolved: 23/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Colin Stolley | Assignee: | Colin Stolley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | perf-70-blocker | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||
| Sub-Tasks: |
|
||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||
| Backport Requested: |
v7.0
|
||||||||||
| Participants: | |||||||||||
| Linked BF Score: | 105 | ||||||||||
| Description |
|
We define a (now deprecated) macro called verify(), which is similar to invariant(). verify() is a very common name for functions, so it clashes with third party code sometimes, notably with abseil's btree_set. It would be helpful to rename verify() to mongo_verify() to avoid name clashes. This requires changes to both mongodb and the enterprise module. |
| Comments |
| Comment by Githook User [ 26/May/23 ] |
|
Author: {'name': 'Colin Stolley', 'email': 'colin.stolley@mongodb.com', 'username': 'ccstolley'}Message: |
| Comment by Githook User [ 23/May/23 ] |
|
Author: {'name': 'Colin Stolley', 'email': 'colin.stolley@mongodb.com', 'username': 'ccstolley'}Message: |