Random full corruption of H2 database
Paradis4432 opened this issue ยท 1 comments
Description
we have a set of servers, all use the same config and setup.
from time to time one of them will random corrupt the local H2 database
all servers restart every 24Hs.
the issue occurs on startup (we think it might have something to do with saving and or loading as it doesnt happen during the uptime of the servers, only startup)
we also tried to update to latest version but had issues making it work. if the solution is that then i can review it again.
Reproduction Steps
we have not a clue, atm the only thing we can do is use an automatic backup to restore to the point before the restart
Expected Behaviour
load h2 database
Server Details
Arclight 1.16.5
LuckPerms Version
LuckPerms-Bukkit-5.4.30 on all servers
Logs and Configs
message seen on start: https://paste.md-5.net/awigesejab.css
more complete message: https://paste.md-5.net/vijonefido.md
message for players trying to login:
spamming the log: https://paste.md-5.net/ovirocuzap.sql
full log: log.txt
i can provide the corrupted h2.mv.db and h2.trace.db files via DM in discord as its not allowed in git issues.
Extra Details
feel free to contact me: .paradis
The version you are running is outdated and has an older version of the H2 database driver that is far more prone to corruption. Updating should resolve this.
If you encounter any further problems, please reproduce on supported platform (i.e paper) as hybrid server softwares such as Arclight are unsupported.