# Initial sync fails

**URL:** <https://forums.percona.com/t/initial-sync-fails/8091>\
**Category:** Percona Server for MongoDB\
**Created:** [October 1, 2020, 3:33am UTC](https://forums.percona.com/t/initial-sync-fails/8091 "2020-10-01T03:33:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anteploon](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@anteploon](https://forums.percona.com/u/anteploon)\
**Post date:** [October 1, 2020, 3:33am UTC](https://forums.percona.com/t/initial-sync-fails/8091/1 "2020-10-01T03:33:40Z")

</div>

I have replica set with members running Percona Server for MongoDB v4.2.8-8

I try to add a new member running Percona Server for MongoDB v4.2.9-9, but it keeps failing even if I try a different sync source.

Here are relevant lines from the log:

* * *

I INITSYNC [replication-2] CollectionCloner ns:attachments.attachments.chunks finished cloning with status: Location16465: Error querying collection 'attachments.attachments.chunks :: caused by :: recv failed while exhausting cursor

E INITSYNC [replication-2] collection clone for ‘attachments.attachments.chunks’ failed due to Location16465: Error cloning collection ‘attachments.attachments.chunks’ :: caused by :: Error querying collection 'attachments.attachments.chunks :: caused by :: recv failed while exhausting cursor

W INITSYNC [replication-2] database ‘attachments’ (2 of 6) clone failed due to InitialSyncFailure: Location16465: Error cloning collection ‘attachments.attachments.chunks’ :: caused by :: Error querying collection 'attachments.attachments.chunks :: caused by :: recv failed while exhausting cursor

I INITSYNC [replication-2] Finished cloning data: InitialSyncFailure: Location16465: Error cloning collection ‘attachments.attachments.chunks’ :: caused by :: Error querying collection 'attachments.attachments.chunks :: caused by :: recv failed while exhausting cursor. Beginning oplog replay.

* * *

Can anybody advise please how to proceed. Could really be the minor version difference that is causing this?

---

<div class="post-metadata">

**Author:** ![Igor\_Solodovnikov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/igor_solodovnikov/32/1265_2.png) [@Igor\_Solodovnikov](https://forums.percona.com/u/Igor_Solodovnikov)\
**Post date:** [October 7, 2020, 7:12am UTC](https://forums.percona.com/t/initial-sync-fails/8091/2 "2020-10-07T07:12:29Z")

</div>

Hello @anteploon

‘recv failed while exhausting cursor’ is general network error. Please check if your network connection is stable.

Does it happens just after start of initial sync or after some time? How big is your DB?
