[SERVER-20599] mongod start failed after unclean shutdown Created: 24/Sep/15 Updated: 09/Dec/15 Resolved: 09/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, WiredTiger |
| Affects Version/s: | 3.0.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | naveen | Assignee: | Susan LoVerso |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Steps To Reproduce: | try repair but not working |
| Participants: |
| Description |
|
mongodb start failed.
I am having worst experience with mongodb and wiredTiger, wired tiger files got corrupted very frequently on unusual shut down of system, repair process not working, and u people are not telling what is the process process of repairing wired tiger files. It is such a bad experience of using a storage engine. I think I should switch to MMap, that is comparetively better than this. |
| Comments |
| Comment by Ramon Fernandez Marina [ 20/Nov/15 ] | |||||||||||||||||||||||||||||||||||||||
|
naven@123, have you tried using the new files I uploaded last week? Any improvements? Thanks, | |||||||||||||||||||||||||||||||||||||||
| Comment by Ramon Fernandez Marina [ 20/Nov/15 ] | |||||||||||||||||||||||||||||||||||||||
|
toni44, can you please open a separate ticket so we can investigate your case? Even if the symptoms are the same the cause and fix may be different. Please upload the WiredTiger.wt and WiredTiger.turtle to that ticket. Thanks, | |||||||||||||||||||||||||||||||||||||||
| Comment by toni [ 14/Nov/15 ] | |||||||||||||||||||||||||||||||||||||||
|
i have the same problem, unluckily all three config servers are affected, in a sharded environment. a power failure is the cause.. | |||||||||||||||||||||||||||||||||||||||
| Comment by Ramon Fernandez Marina [ 13/Nov/15 ] | |||||||||||||||||||||||||||||||||||||||
|
I'm attaching a tarball with the result of a repair attempt for the WiredTiger.wt and WiredTiger.turtle files in case it helps recovering from this situation. There seem to be other issues with this particular corruption that we're still investigating, apologies is taking some time. This being said, I'd strongly recommend the implementation of protection measures against unclean shutdowns to avoid any further issues. Like with any other system, data loss or corruption can happen in the case of an unclean shutdown if the filesystem is left in an inconsistent state. | |||||||||||||||||||||||||||||||||||||||
| Comment by naveen [ 24/Sep/15 ] | |||||||||||||||||||||||||||||||||||||||
|
electricity failure is unusaual shutdown, there may be some issue with wiredtiger.turtle or wiredtiger.wt or sizestored.wt, | |||||||||||||||||||||||||||||||||||||||
| Comment by Ramon Fernandez Marina [ 24/Sep/15 ] | |||||||||||||||||||||||||||||||||||||||
|
naven@123, can you elaborate on what "unusual shutdown" means? The reason I asked for the logs before the restart is to try to understand what led to the shutdown, which is the first step in understanding what may have led to the current situation and the next step forward. Thanks, | |||||||||||||||||||||||||||||||||||||||
| Comment by naveen [ 24/Sep/15 ] | |||||||||||||||||||||||||||||||||||||||
|
this all happened due to unusual shut down | |||||||||||||||||||||||||||||||||||||||
| Comment by naveen [ 24/Sep/15 ] | |||||||||||||||||||||||||||||||||||||||
|
this is repair log
| |||||||||||||||||||||||||||||||||||||||
| Comment by Ramon Fernandez Marina [ 24/Sep/15 ] | |||||||||||||||||||||||||||||||||||||||
|
Sorry you've run into this issue naven@123. Can you please send us full logs from this server? I hope that seeing what's in the logs before the restart that you copied above we'll have a better understanding of the sequence of events that led to this situation. Also, have you tried starting mongod with the --repair option? If you have (or if you do), can you please uploads the logs for that as well? Thanks, |