-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Draft] to fix "java.lang.IllegalStateException: Session/EntityManager is closed" #1118
Conversation
I've tested it and it seems to also fix #1073 |
Oh, right, fine, this undoes the thing I just noticed. I think we should definitely merge this. If i understand correctly, the change made in https://github.com/hibernate/hibernate-reactive/pull/948/files would cause the Hibernate session and transaction between all threads in a verticle. If that's right, then no wonder users were running into concurrency problems. |
I'm going to just merge this. |
@gavinking, Please, check with us before merging things that are in draft |
Um. No, I don't think that's a reasonable thing to yell at me about. The change to use And the change that broke it broke Hibernate Reactive for essentially every user. It's extremely embarrassing that we have not noticed this issue since September, and have had multiple users report multiple bugs that I assume stem from this, and we have not done anything about it until now. So, yeah, my fault for being swapped out, for sure, but right now we need to prioritize the fuck out of getting this fix out into a release, not keep sitting around fiddling and twiddling our fingers and worrying what process is followed when merging fixes to serious bugs! |
Seriously, we should have been on top of this way earlier and we weren't. We need to be feeling quite bad about this right now. |
Don't worry, I felt quite bad when I realized my mistake. But there's no reason to rush things as we won't be able to release until tomorrow the earliest. |
Relates to quarkusio/quarkus#22433 and #1073
@DavideD