-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Store header is corrupt #3307
Comments
Greetings. Unfortunately I observe the same problem with
What seems to work is:
|
Can confirm. Corrupts with DEFRAG also |
As far as I understand it, |
Yes, COMPACT is now a synonym for DEFRAG, they used to mean different things in the past. @manticore-projects, it looks like the problem you have, is different (unless your database is also encrypted). |
Not encrypted. And it is a FRESH DB created from SQL Script, with 2.0.204.
I have observed similar corruptions since 1.4.199 but never have been able to pin-point it.
I have this reproducible test case and would love to render all needed assistance to solve this. There is a caveat though: the DB SQL Script is 200 MB (gzipped) and the DDLs I have been running over are Program Logic. How shall I make that available to you? |
@manticore-projects, Maybe Google drive? Or any file sharing platform, really.
|
Maybe it's just that the password is wrong... |
@andreitokar, thanks for helping! I believe, that my particular concern has been addressed by you already in 2.2.219 -- I have not seen this corruption since (and I run quite a lot of H2 databases on different sides). That said: Why not just block/disable |
This is the error which is triggered everytime on compacting db.
Database:
https://code.briarproject.org/briar/briar/-/blob/master/bramble-core/src/main/java/org/briarproject/bramble/db/H2Database.java#L60
Compact and close:
https://code.briarproject.org/briar/briar/-/blob/master/bramble-core/src/main/java/org/briarproject/bramble/db/H2Database.java#L116
https://code.briarproject.org/briar/briar/-/blob/master/bramble-core/src/main/java/org/briarproject/bramble/db/JdbcDatabase.java#L429
Replacing "SHUTDOWN COMPACT" with "SHUTDOWN" does not trigger any error.
Removing CIPHER=AES does not trigger any error.
Error started from 1.4.198 and is present with the lastest 2.0.204.
Full trace log:
db.trace.txt
The text was updated successfully, but these errors were encountered: