[SERVER-18970] fassert in gridfs after an unclean shutdown Created: 15/Jun/15 Updated: 16/Jun/15 Resolved: 16/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | GridFS, MMAPv1 |
| Affects Version/s: | 2.4.3, 2.6.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Chris Wang | Assignee: | Ramon Fernandez Marina |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS v6.4 |
||
| Attachments: |
|
| Operating System: | Linux |
| Participants: |
| Description |
|
I am running a single mongodb server in CentOS v6.5 64bit. I store many small files is gridfs, with gridfs's id to access the file, such as: How can I fix this problem? And ensure the old files id not be changed.
|
| Comments |
| Comment by Ramon Fernandez Marina [ 16/Jun/15 ] |
|
Thanks for your report chrisloong. If an unclean shutdown of the machine leaves the filesystem in an inconsistent state then it's possible for any file that was open to appear corrupt. You may want to consider protecting against power failures with a UPS, or using replication, or both. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. Regards, |
| Comment by Chris Wang [ 15/Jun/15 ] |
|
It seems that some files in gridfs were corruption. |