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

Remove replsets/initial_sync2.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2020-08-10, Repl 2020-08-24
    • 16

      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). 

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

              Created:
              Updated:
              Resolved: