[SERVER-49886] Remove replsets/initial_sync2.js Created: 24/Jul/20  Updated: 29/Oct/23  Resolved: 19/Aug/20

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

Type: Bug Priority: Major - P3
Reporter: Pridhvi Vegesna (Inactive) Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2020-08-10, Repl 2020-08-24
Participants:
Linked BF Score: 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). 



 Comments   
Comment by Githook User [ 18/Aug/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-49886 Removes stale test replsets/initial_sync2.js.
Branch: master
https://github.com/mongodb/mongo/commit/ecf67a36b8b34fdef8867c4a889c5a2173020d33

Generated at Thu Feb 08 05:21:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.