Affects: 5.3.0
Comment From: sdeleuze
Could you please provide a repro project ?
Comment From: lujijiang
The Repro:https://github.com/lujijiang/app-demo.git Master branch is ok with use transactionalOperator, you can checkout issue code from branch @TransactionalTest
Comment From: lujijiang
You can test with post to http://localhost:8080/savePerson ,and the data is
{
"name":"lily",
"age":100
}
Comment From: sdeleuze
I have been able to reproduce it, it only happens when the suspending function returns a value. In that case the reactive transaction is always rollbacked because of a concellation. See https://github.com/sdeleuze/demo-coroutines-tx for a detailed repro.
Comment From: lujijiang
Great, waiting to be fixed.