asyncer-io / r2dbc-mysql

Reactive Relational Database Connectivity for MySQL. The official successor to mirromutth/r2dbc-mysql(dev.miku:r2dbc-mysql).
https://r2dbc.io
Apache License 2.0
196 stars 21 forks source link

Enhance Transactional Methods for Improved Request Queue Handling #180

Closed jchrys closed 9 months ago

jchrys commented 9 months ago

Motivation: The current Transaction Methods implementation lacks consideration for the request queue, resulting in potential undefined behavior and issues.

Modifications: Transaction Methods properly respect the request queue.

Result: Bug resolved. Enhanced stability and reliability.

mirromutth commented 9 months ago

Maybe we should check the state in RequestQueue instead, I created a ticket #183 for that.

I think we can merge this PR first for fix the bug, and consider how to improve state checking (including other states).