-
-
Notifications
You must be signed in to change notification settings - Fork 212
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] Deadlock found when trying to get lock #635
Comments
Duplicate of #275. You are using the wrong StorageProvider: I would expect to see The Spring integration normally creates the correct StorageProvider based on the Datasource. Can you provide me with the start of your connection string? |
FYI - from the official MySQL & MariaDB docs:
That's a really nice way to provide an API 😄 . |
Our connection strings all look like the following, except for the hostname. useBulkStmts=false was added for version 5.3.x
And here is our JobRunrConfig
|
Hi @jamesfredleyallied , is there a reason why you are creating the |
@rdehuyss Our app is technically Grails on top of Spring Boot and for some reason jobrunr-spring-boot-starter did not connect to our datasource out of the box. |
I've added a fix that should solve this. Waiting for CI/CD to release. |
Contact Details
JobRunr Version
5.3.2
JDK Version
Amazon Corretto 11.0.13
Your SQL / NoSQL database
AWS RDS MariaDB 10.6.10
What happened?
Would not expect a deadlock, unless a transaction was started and either not committed or rolled back at the end.
This happened on 2 of our 4 running instances.
If a deadlock occurs, do not shutdown, attempt to recover, like when database connectivity fails.
How to reproduce?
Not sure.
Run multiple instance of 5.3.2 connected to the same database, at the same time.
Relevant log output
The text was updated successfully, but these errors were encountered: