[SERVER-31690] WiredTiger.wt read checksum error Created: 24/Oct/17 Updated: 16/Nov/17 Resolved: 25/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | naveen Tyagi | Assignee: | Mark Agarunov |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
My server crashed and the admins didn't use dump commands to make backups, but copied the database files directly and I cannot repair the database using those files. |
| Comments |
| Comment by Mark Agarunov [ 25/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello naveen.tyagi, Thank you for the additional information. Unfortunately, this error indicates that there was corruption outside of MongoDB. In this situation, my best recommendation would be to resync the affected node or restore from a backup if possible. From the provided information, I do not see anything in the provided information to indicate a bug in the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group. Thanks, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by naveen Tyagi [ 25/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Mark, Have you seen the posted thread/issue ? Please let me know if you need more details. Please look into this ASAP. Thanks, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by naveen Tyagi [ 24/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Mark, please find the reply of your questions.
Answer : Locally HDD type
Answer : Same version we are using (3.2.17)
Answer : Yes, we have copied the data files from the crashed server.
Answer : No
Answer : Copied the data files from server. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by naveen Tyagi [ 24/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Mark, Thank you for your quick response. We ran the following command and getting below error after a while. Command : C:\Program Files\MongoDB\Server\3.2\bin>mongod --dbpath D:/neirbi/home/mongo --repair Output :
Can you please look into this ASAP, this is a bit urgent. Thanks | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mark Agarunov [ 24/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello naveen.tyagi, Thank you for the additional information. To clarify, are you seeing this error after replacing the WiredTiger.wt and WiredTiger.turtle files with those provided and running mongod with --repair? If so, please provide the complete logs from mongod so that we can further investigate. Additionally, if this issue persists, please provide the following information:
Thanks, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by naveen Tyagi [ 24/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Mark, C:\Program Files\MongoDB\Server\3.2\bin>mongod --dbpath D:/neirbi/home/mongo } ***aborting after invariant() failure | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by naveen Tyagi [ 24/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Mark, Please look into the problem. Regards, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mark Agarunov [ 24/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello naveen.tyagi, Thank you for the report. I've attached a repair attempt of the files you've provided. Would you please extract these files and replace them in your $dbpath and let us know if it resolves the issue? If you are still seeing errors after replacing these files, please provide the complete logs from mongod so that we can further investigate. Additionally, if this issue persists, please provide the following information:
Thanks, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by naveen Tyagi [ 24/Oct/17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Can you please attend this ASAP, a bit urgent for me. |