Replies: 4 comments 5 replies
-
I just try again specifiyng db kind to h2 and put quarkus-jdbc-h2, same effect.... |
Beta Was this translation helpful? Give feedback.
-
Ok, while removing these properties, it's good now. But why ? Sorry... And thanks for help. (I think it's more related to flus on close) quarkus.datasource.jdbc.transaction-isolation-level=read-committed |
Beta Was this translation helpful? Give feedback.
-
@barreiro could you have a look at this discussion? |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for reporting @yblazart. This was indeed an issue in Agroal with the flush-on-close state transition. Fixed in AG-189 |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm currently working on a very big project (in a big company of course).
We were forced to stay on Quarkus 1.13.7 because of jdk 8.
Now we can pass to jdk 11, so I attempt to migrate my project direcly to Quarkus 2.7.4.
I precise that I'm writing this on my personnal account, as you can certainly guess I don't have rights to do it from the company network and I can't also push code.
I'm facing a lot of WARN messages from agroal "Closing connection in incorrect state CHECKED_OUT'" when I start mvn quarkus:dev.
In fact I have some (a lot) of Schedules that play with JPA. Using normal @Transactionnal. and so on.
I just isolated one to check and the effect is the same.
I attempted to understand while debuging, but it seems that intellij don't show me the right code from agroal, breakpoints are not in front of good lines.
Another information is that my database kind is 'other', because I need to use h2 for test and for Non regression tests on jenkins (so my microsservices are launched as in "real" but with H2 url), but for delivery we use Oracle of course. I'm aware that it's not certainly a good way of doing that, but as you can guess, we did this with time we got, and constraints.
I will try to reproduce that behaviour on my own device, but it can take time, and I'm not sure to success.
So if anybody have an idea ? Or see immediately what's happening, help is welcomed.
Long life to Quarkus, and thanks !
Beta Was this translation helpful? Give feedback.
All reactions