Not the answer you need?
Register and ask your own question!

Initial sync fails

anteploonanteploon Current User Role Novice

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?

Answers

  • Igor SolodovnikovIgor Solodovnikov Percona Percona Staff Role

    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?

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.