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

dropDatabase after step down can cause fassert

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.3, 3.7.1
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2018-01-01, Repl 2018-01-15
    • 0

    Description

      If there is a step down, we return early and fail, but we never take the database out of the "drop pending" state. Thus if a new dropDatabase oplog entry comes in after the step down, it can cause an error in oplog application and a crash.

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: