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

dont_read_oplog_hole_on_step_up.js should wait until primary is writable

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc11, 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • v4.4, v4.2
    • Execution Team 2020-06-29
    • 8

    Description

      This test only waits for the node transitions to primary, but not after it starts accepting writes. This causes the test to fail intermittently.

      We should add something like this to ensure the node is writable:

      assert.soon(() => newPrimary.adminCommand({isMaster: 1}).ismaster);
      

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: