[SERVER-26772] Remove old initial sync code Created: 25/Oct/16  Updated: 09/Apr/20  Resolved: 16/Mar/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.5.5

Type: Task Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-26729 Replace OplogReader usage for fetchin... Backlog
Duplicate
is duplicated by SERVER-26333 Move initial sync tests from noPassth... Closed
Related
related to SERVER-30138 make node 1 unelectable in initial_sy... Closed
related to SERVER-32332 Put SyncTail behind new Applier inter... Closed
related to SERVER-47438 Cloner::copyIndexes() should generate... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-03-27
Participants:
Linked BF Score: 0

 Description   
  • 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.


 Comments   
Comment by Githook User [ 16/Mar/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-26772 removed old initial sync code
Branch: master
https://github.com/mongodb/mongo/commit/f53a88a57da5788b355cb3037061372a706ccf0d

Generated at Thu Feb 08 04:13:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.