[SERVER-8991] Assert 13440 (bad offset error) should not be logged as uassert Created: 15/Mar/13 Updated: 18/Feb/15 Resolved: 19/Sep/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Storage |
| Affects Version/s: | 2.2.3, 2.4.10 |
| Fix Version/s: | 2.7.7 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Gianfranco Palumbo | Assignee: | Matt Kangas |
| Resolution: | Done | Votes: | 0 |
| Labels: | community-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Server 2.7.4, Server 2.7.5, Server 2.7.6 | ||||
| Participants: | |||||
| Description |
|
13440 is about database corruption
https://github.com/mongodb/mongo/blob/v2.2/src/mongo/db/pdfile.cpp#L390 uasserted() logs at from level 1 |
| Comments |
| Comment by Githook User [ 19/Sep/14 ] |
|
Author: {u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}Message: Also remove unused method DataFile::badOfs2 with assert 13441 |
| Comment by Matt Kangas [ 20/Jun/14 ] |
|
uasserts are still present in master for these assertion codes, as of r2.7.2, but in a new location. src/mongo/db/storage/mmap_v1/data_file.cpp:67: uasserted(13441, str::stream() << "bad offset:" << ofs |