Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60402

Add a "run only once" invariant to SSM cleanup hook in ServiceEntryPointImpl

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Service Arch 2021-10-18
    • 124

      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.

            Assignee:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Reporter:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: