[SERVER-40144] Check for shim registration at startup of product binaries Created: 14/Mar/19 Updated: 06/Dec/22 Resolved: 22/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | ADAM Martin (Inactive) | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
Shim registration is unchecked in all binaries, to facilitate flexibility in unit tests; however, this permits accidental omission of vital shims which aren't discovered until the execution of potentially hard-to-test code paths. We should make all product binaries (`mongod`, `mongos`, `mongoed`, etc.) check for all shims being registered, at program startup. |