Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
2.8.0-rc0
-
Fully Compatible
-
ALL
Description
When the repair cursor used by mongodump --repair hits a damaged region, mongod aborts with a checksum error:
2014-11-18T08:05:55.281-0500 E STORAGE [conn1] WiredTiger (0) [1416315955:281461][41709:0x10a284000], file:collection-2-8144621339125293100.wt, cursor.next: read checksum error [4096B @ 17756160, 2609031421 != 63499111]
|
causing mongodump to terminate abruptly:
> mongodump --repair
|
2014-11-18T08:01:01.498-0500 writing repair of test.c to dump/test/c.bson
|
2014-11-18T08:01:01.513-0500 repair error: error reading collection: EOF
|
The resulting .bson file is then abruptly terminated:
> bsondump dump/test/c.bson >/dev/null
|
2014-11-18T08:04:29.177-0500 unexpected EOF
|
Aside from looking bad, this leaves quite a few (several thousand in my test) recoverable records unrecovered.