[SERVER-60402] Add a "run only once" invariant to SSM cleanup hook in ServiceEntryPointImpl Created: 01/Oct/21 Updated: 29/Oct/23 Resolved: 13/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Vojislav Stojkovic | Assignee: | Vojislav Stojkovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | servicearch-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Service Arch 2021-10-18 | ||||
| Participants: | |||||
| Linked BF Score: | 124 | ||||
| Description |
|
The assertion triggered in BF-22149 implies that there's a theoretical possibility that the SSM cleanup hook is called more than once. However, since it seems to be infeasible to reproduce the BF on demand, there is no way to prove this is happening. In order to understand what's causing the BF, we should add an invariant inside the cleanup hook that ensures that the hook isn't executed more than once. |
| Comments |
| Comment by Githook User [ 12/Oct/21 ] |
|
Author: {'name': 'Vojislav Stojkovic', 'email': 'vojislav.stojkovic@mongodb.com', 'username': 'vstojkovic-mongodb'}Message: |