[SERVER-61505] Remove checks in initial sync code that check the sync source wireVersion for resumable initial sync feature compatibility Created: 15/Nov/21  Updated: 29/Oct/23  Resolved: 06/Jan/22

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

Type: Task Priority: Major - P3
Reporter: Jason Chan Assignee: Gabriel Marks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Replication 2021-12-13, Replication 2021-12-27, Replication 2022-01-10
Participants:

 Description   

Now that we are developing versions past 5.2, we are able to remove some stale code in the initial sync code path that checks whether the wireVersion < WireVersion::RESUMABLE_INITIAL_SYNC. For versions 5.0 and beyond, we should never expect to sync from a node lower than version 4.4, so we should always be able to assume the sync source supports resumable initial sync. 

Areas that we currently check WireVersion:



 Comments   
Comment by Githook User [ 04/Jan/22 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-61505 Remove WireVersion::RESUMABLE_INITIAL_SYNC
Branch: master
https://github.com/mongodb/mongo/commit/a29535aaa54d6ca2ec7f87cea34ac4138ae8803d

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