An autonomous transaction cancellation by a reactive chain timeout operator results in r2dbc connections leakage #32115
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: feedback-provided
Feedback has been provided
status: waiting-for-triage
An issue we've not yet triaged or decided on
Greetings!
Please consider the test below (reactor + r2dbc-postgresql + r2dbc-pool). A reactive chain within the test begins a transaction (outer), inserts a record, begins an autonomous transaction (inner). Inner attempts to insert a record with the same data thus being unable to proceed (outer is still in progress) is cancelled by the reactive chain timeout operator:
Environment:
The outcomes:
The text was updated successfully, but these errors were encountered: