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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: