Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Tests which show database integrity corruptions #1838
Two test suites for database corruption, one for XML documents and one for Binary documents. Both test suites run the same tests but for the respective document type.
Currently there are:
Each test case is executed on a clean instance of the database to ensure there are no "knock-on" effects from one test case to another.
Perhaps the most revealing of the test cases is
I have previously fixed and can provide a PR for the binary issues!
I previously raised the issue of these corruptions in July 2017, but they have received little attention. I am opening this issue to make the tests more accessible and to increase visibility.
There seems to be a bug in the test: looking at
To see the real issue I have to disable temporary storage. Would be nicer to run it with temporary data dir though.
After two days of debugging I managed to fix the first of the underlying issues, bringing the number of failing XML recovery tests down to 4. The remaining failures are likely related. The issue is caused by a long comment in