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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.2.0-rc1, 4.3.1
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-06-17
    • 91

    Description

      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.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: