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

Create Javascript test to exercise rollback of dropDatabase command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.1
    • None
    • Replication
    • Fully Compatible
    • Repl 2017-11-13, Repl 2017-12-04, Repl 2017-12-18, Repl 2018-01-01, Repl 2018-01-15

    Description

      The dropDatabase command will drop all the collections in a database, wait on the last collection drop to replicate to a majority of nodes, and then log a dropDatabase oplog entry. If the dropDatabase oplog entry was logged and not replicated to a majority of nodes, it could be rolled back. We should add a test that exercises this scenario, to make sure that rollback behavior is not abnormal if it encounters a dropDatabase oplog entry.

      Attachments

        Activity

          People

            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: