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

Uni and IO Thread #918

Closed
phillip-kruger opened this issue Jul 19, 2021 · 6 comments
Closed

Uni and IO Thread #918

phillip-kruger opened this issue Jul 19, 2021 · 6 comments
Assignees
Milestone

Comments

@phillip-kruger
Copy link
Member

At the moment Uni return execute on the Worker thread, we need to enhance this to execute on the IO Thread

@phillip-kruger
Copy link
Member Author

Also see quarkusio/quarkus#19879

When using a reactive db and a source field, you get java.lang.IllegalStateException: HR000068: This method should exclusively be invoked from a Vert.x EventLoop thread; currently running on thread 'executor-thread-0'

The main query runs on the worker-thread while the source method runs on the eventloop

@rsvoboda
Copy link

@phillip-kruger can you pls link the PR which handles Uni on IO Thread?

@phillip-kruger
Copy link
Member Author

There was a few. Hold on let me gather them. Also, a fairly big change in Quarkus. Most of the work actually happens in Quarkus, the changes in SmallRye was to allow that.

@phillip-kruger
Copy link
Member Author

@phillip-kruger
Copy link
Member Author

@rsvoboda ^^^

@rsvoboda
Copy link

rsvoboda commented Jul 20, 2022

thanks, it's huge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants