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

Remove old initial sync code

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.5
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2017-03-27
    • 0

      • We should remove all non-DataReplicator initial sync code and any code only used by it.
      • We should remove the flag for use3dot2initialsync.
      • We should remove the variant in evergreen that runs the old initial sync on master and the 3.4 branch.
      • Remove the OplogReader after SERVER-26729 is done.
      • Remove forceInitialSyncFailure from the replSetTest command since it is no longer used.
      • Many of the new initial sync tests begin by checking if use3dot2initialsync is specified. These tests no longer need to check that and all of them should be moved to the replsets directory.
      • Remove tests that are only relevant in old initial sync like two_initsync.js
      • Move failpoint initialSyncHangDuringCollectionClone from initial_sync_common.h to collection_cloner.cpp, since it no longer needs to be shared with old initial sync.
      • Remove DBClientWithCommands::getDatabaseNames(), as it is only called from the old initial sync code.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: