-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Replication 2021-12-13, Replication 2021-12-27, Replication 2022-01-10
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:
- all_database_cloner.cpp
- Multiple test cases in all_database_cloner_test.cpp
- collection_cloner.cpp
- test case in collection_cloner.cpp
- initial_sync_base_cloner.cpp
- initial_sync_cloner_test_fixture.cpp