-
-
Notifications
You must be signed in to change notification settings - Fork 188
Tests which show database integrity corruptions #1838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests which show database integrity corruptions #1838
Conversation
|
impressive |
|
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. |
3a418f5 to
cb38457
Compare
|
@wolfgangmm Right you are. I fixed that and just rebased. Still failures, but less of them now. |
|
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 |
|
@wolfgangmm Nice catch wolf! |
cb38457 to
881d89a
Compare
|
needs a rebase |
881d89a to
f114a8c
Compare
…operations on XML and Binary files
…ly too much (prev. 1 hour, now 3 minutes)
f114a8c to
18dd9a3
Compare
|
Needs to be rebased |
|
Closed/Superseded by #2241 |
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
AbstractRecoveryTest#storeAndLoad().I have previously fixed and can provide a PR for the binary issues!
Unfortunately the XML corruptions are much more serious, and difficult to understand, as they appear to be between eXist-db's BTree's and the Journal recovery.
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.