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

Config database drop can trigger an invariant

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • 3.5.13
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-10-23
    • 0

    Description

      scenario:

      1. Write command with session checks out session.
      2. Config database (or config.transactions) gets dropped. SessionCatalog::invalidateSessions gets called.
      3. Write command finishes, tries to call _releaseSession, but txnTable is cleared, so entry cannot be found and triggeres invariant.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: