[SERVER-23970] restore failed with error -reading bson input: unexpected EOF Created: 28/Apr/16  Updated: 03/Jun/16  Resolved: 03/Jun/16

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

Type: Question Priority: Major - P3
Reporter: Sai Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

we have 2 shards>> each shard is having 3 servers and from each server we have taken the backup of the schema seperately using mongodump.

Like wise we have 6 servers and taken 6 dumps of schema dump seperately and copied it to the stand alone server where we want to restore.

While restoring the first dump schema restore got failed as below,

myanalayisTakeItems.TakeNode 48.4 GB/48.4 GB (100.0%)
2016-04-28T12:19:40.273-0400 Failed: myanalayisTakeItems.TakeNode
: error restoring from /backup/bkp/dump/myAnalyticsTakeItems/TakeNode.bson: reading bson input: unexpected EOF

Experts please help me on this.

Note : When we have tested a test case with small schema of 450 MB restoration it worked well and we can see all the collections without any error ,Alos couning the collections as well.



 Comments   
Comment by Sai [ 03/Jun/16 ]

Issue has been resolved ,sorry I for got to update this thread. Now you can
close this case.

Comment by Kelsey Schubert [ 02/Jun/16 ]

Hi saisrinivase@gmail.com,

We still need logs to diagnose the problem. If this is still an issue for you, can you please upload the complete logs of the affected mongod?

Thank you,
Thomas

Comment by Kelsey Schubert [ 16/May/16 ]

Hi saisrinivase@gmail.com,

Thank you for opening this ticket. So we can continue to investigate this issue, would you please upload the complete logs during the mongorestore of the affected mongod?

Kind regards,
Thomas

Generated at Thu Feb 08 04:04:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.