[SERVER-32523] file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Created: 03/Jan/18 Updated: 14/Aug/18 Resolved: 17/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.4.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Wong [X] | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | docker, envc, rns, rpu, szs, trcf, wtc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | Linux |
| Participants: |
| Description |
|
We run MongoDB 3.4.3 in an kubernetes cluster, the Mongo pod exsit and WiredTiger data files are corrupted. I copied data files to another volume and run Mongo repair command: mongod --repair, there’re errors like: WiredTiger error (-31802) [1514980856:210666][151:0x7fda0a758cc0], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Could you please have a look at this? Thank you!
|
| Comments |
| Comment by Kelsey Schubert [ 24/Jan/18 ] |
|
Unfortunately, that's correct. These files appear to have been corrupted at the operating system level and we do not have any tools that would enable recovery. Kind regards, |
| Comment by Kevin Wong [X] [ 24/Jan/18 ] |
|
Hi Kelsey T Schubert , Thank you very much! Kind regards, |
| Comment by Kelsey Schubert [ 17/Jan/18 ] |
|
Hi KevinWong, Unfortunately, this error indicates that there was corruption on the disk, most often cause by a faulty storage layer. In this situation, our best recommendation would be to resync the affected node or restore from a backup if possible. To prevent this type of problem in the future please take note of the following guidelines to help mitigate any issues related to unreliable storage layers or server failures.
Kind regards, |
| Comment by Kevin Wong [X] [ 15/Jan/18 ] |
|
Hi Kelsey T Schubert, |
| Comment by Kevin Wong [X] [ 10/Jan/18 ] |
|
Hi Kelsey, Thank you, root@mongo2-rpg5s:/mnt/tmp# mongod --port 16000 --repair --dbpath /mnt/tmp/ , repair: true, storage: { dbPath: "/mnt/tmp/" } } |
| Comment by Kelsey Schubert [ 09/Jan/18 ] |
|
Hello KevinWong, Thank you for your report. I've attached a repair attempt of the files you provided. 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 the affected node so that we can further investigate. Thank you, |