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

Ensure database drop/recreate is replicated before enabling profiling in safe_secondary_reads_drop_recreate.js

    • Fully Compatible
    • ALL
    • v4.0
    • Sharding 2018-06-04
    • 25

      In safe_secondary_reads_drop_recreate.js, we should ensure that the drop from the previous scenario is replicated before we enable profiling for the database on the secondaries. Otherwise, when the drop is replicated, the profile collection will be dropped. We can ensure the drop is replicated by giving the secondary votes, or by calling awaitReplication() before turning on profiling.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: