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

Force Delay on ContinuousInitialSync Hook Node Stepup

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2023-01-09
    • 13

    Description

      Problem

      In BF-27059 we would see a bug where a retryable write fails on a fresh initial sync node due to trying to retry operations not in the nodes oplog. This is a very consistent build failure that has been ongoing for over a month with 33% failure rate.

      Solution & Acceptance Criteria

      The current ContinuousInitialSync hook has a random chance to either immediately promote the initial sync node after sync or to wait before promotion. The bug only occurs on immediate promotion so the solution should be to remove the random chance.

      Impact

      This change does reduce the total number of initial syncs done during the suite (from ~100 to ~50 on average). This should still be sufficient to test initial sync and can be further improved by adjusting the wait time before promotion in the future.

      Attachments

        Activity

          People

            sean.zimmerman@mongodb.com Sean Zimmerman
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: