-
-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
Hi, I am currently using the jasync client in Vert.x. Is there a potential thread-safety issue with MySQLFrameDecoder? When we call sendQuery, it is executed on vert.x-eventloop-thread-0, where queryProcessStarted is invoked, setting this.isInQuery = true. However, during decoding, it might switch to a different thread, such as vert.x-eventloop-thread-1. Could this cause this.isInQuery to become invisible? Should we add the volatile keyword to the relevant variable? Thanks


Metadata
Metadata
Assignees
Labels
No labels