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

secondary_dryrun_vote_timeout.js should wait for "Voted for importCollection" log message on the secondary

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0
    • Execution Team 2022-07-11
    • 2

      The import collection logic on a secondary communicates its progress to the primary in a thread separate from the oplog application pool. This change was made in SERVER-51528. Occasionally, we have seen the secondary_dryrun_vote_timeout.js test fail because the primary did not receive the vote request from the secondary. We can make this test more robust by making the test wait for the secondary to vote for the import before waiting for acknowledgement on the primary.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: