DiagnosticInfo for latches doesn't integrate well with unit-tests which create and destroy ServiceContexts

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: 4.4.0-rc3
    • Component/s: None
    • Fully Compatible
    • ALL
    • v4.4
    • Service arch 2020-06-29, Service arch 2020-07-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      AuthorizationManager owns a ThreadPool (see here) that is stopped/deleted at the end of the its lifetime. It also holds a reference to the ServiceContext, which is reset in here before the ServiceContext is deleted.

      Since the ThreadPool outlives ServiceContext, and it can schedule tasks that manage opCtxs locally (see here for example), AuthorizationManager should stop the ThreadPool before ServiceContext is deleted.

            Assignee:
            Benjamin Caimano (Inactive)
            Reporter:
            Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: