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

createCollection can run concurrently with two phase dropDatabase

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • ALL
    • Execution Team 2019-10-07

    Description

      Two phase dropDatabase releases locks while waiting for collection drops to majority replicate before replicating a drop database oplog entry.

      A flag is set such that operations which should not run inbetween have a means to do so.

      Due to how secondaries process a dropDatabase oplog entry, collections created inside this window can result in losing majority committed writes.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: