[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:
Depends
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: SERVER-60402 Add "run only once" invariant to SSM cleanup hook
Branch: master
https://github.com/mongodb/mongo/commit/16e286d3e4bc3fdbfee99a965d3654335566c3ec

Generated at Thu Feb 08 05:49:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.