-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Description
In BlockingIdentifierGenerator
, when a new block is allocated, invocations of generate
method are queued:
Line 94 in 75e5748
queue.add( () -> generate( session, entity ).thenAccept( result::complete ) ); |
After the result is received, queued tasks are executed:
Line 87 in 75e5748
list.forEach( Runnable::run ); |
The problem is that they are executed on the Vert.x context which made the database call, not the context they were operating on when they were queued.
This explains the error logs in quarkusio/quarkus#32533
Metadata
Metadata
Assignees
Labels
No labels