Skip to content
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

Bug Report: H2 database "randomly breaking" #374

Closed
jonesdevelopment opened this issue Aug 31, 2024 · 2 comments
Closed

Bug Report: H2 database "randomly breaking" #374

jonesdevelopment opened this issue Aug 31, 2024 · 2 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@jonesdevelopment
Copy link
Owner

General information

Some of the people on my Discord server have reported rare occurrences where the H2 database randomly corrupts. I personally have no idea what's happening, which is why I'm creating this issue to seek help from other, potentially more experienced people.

Steps to reproduce

  1. Set the database type to H2
  2. Restart your server an unknown amount of times

Sonar dump

/

Additional information

Errors reported by users:
image

> sonar reload
[17:47:32 INFO]: Sonar » Reloading Sonar...
[17:47:32 INFO] [sonar]: [config] Using system language (EN) for translations.
[17:47:32 INFO] [sonar]: Taking cached snapshots of all packets...
[17:47:32 INFO] [sonar]: Preloading all registered packets...
[17:47:32 INFO]: Sonar » Successfully reloaded (41ms)
[17:47:32 ERROR] [sonar]: [database] Error initializing database: xyz.jonesdev.sonar.libs.h2.jdbc.JdbcSQLNonTransientConnectionException: (Message 90048 not found) [90048-220]
@jonesdevelopment jonesdevelopment added bug Something isn't working help wanted Extra attention is needed labels Aug 31, 2024
@jonesdevelopment jonesdevelopment self-assigned this Aug 31, 2024
@jonesdevelopment jonesdevelopment added this to the 2.2.0 milestone Sep 1, 2024
@jonesdevelopment
Copy link
Owner Author

Possibly fixed by 8d378d5 (confirmation needed)

@jonesdevelopment
Copy link
Owner Author

jonesdevelopment commented Sep 14, 2024

I haven't any errors since release 2.1.6 (8d378d5).

(The NullPointerException is definitely fixed since it's a pooled-connection-only error, but I'm not sure about the second error.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Testing
Development

No branches or pull requests

1 participant