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

Remove replsets/initial_sync2.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-08-10, Repl 2020-08-24
    • 16

    Description

      The initial sync semantics project introduced changes that lead to a race conditions in initial_sync2.js. We propose removing the js test file altogether.

      There are a few reasons A). The file is very old and the structure of the test makes assumptions that are logically incoherent with replication’s current semantics. B). The edge case the test is checking is already tested in other files (https://github.com/mongodb/mongo/blob/master/jstests/replsets/initial_sync_oplog_fetcher_survives_restart.js). C). We’ve dropped sibling test files in the past (e.g. we’ve removed initial_sync3 from jstests). 

      Attachments

        Activity

          People

            suganthi.mani@mongodb.com Suganthi Mani
            pridhvi.vegesna@mongodb.com Pridhvi Vegesna (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: