MongoS `shutdownTask` can access the LogicalSessionCache before it has been created

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.0-rc1, 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-06-17
    • 91
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The cleanup task on MongoS is registered before the LogicalSessionCache has been created. Because of this, if an error occurs during startup, it is possible that the shutdownTask may dereference a null pointer.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: