Description
Test creates and corrupts a file but is later unable to re-open.
Fails with status = FDB_RESULT_NO_SUCH_FILE (-3)
The forestdb_dump tool gives a read error
C:\Users\Administrator\Downloads\workspace\win2012-p0-forestdb-sanity\forestdb\b
|
uild\tests\anomaly>..\..\forestdb_dump.exe anomaly_test2
|
[FDB ERR] Unable to read a database file 'anomaly_test2' with blocksize 14757395
|
255531671552
|
|
[FDB ERR] Error in READ on a database file 'anomaly_test2', errno = 38: 'Reached
|
the end of the file.
|
'
|
Unable to open anomaly_test2
|
// open the corrupted file
|
s = fdb_open(&dbfile, "anomaly_test2", &config);
|
TEST_CHK(s == FDB_RESULT_SUCCESS);
|
> fdb_anomaly_test.exe!corrupted_header_correct_superblock_test() Line 869 C++
|
fdb_anomaly_test.exe!main() Line 910 C++
|
Attachments
Issue Links
- blocks
-
MB-19612 4.5.1 Minor Release
- Closed