seata when isReadOnly is true do not open xa transaction

lkaoscv7  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(41)

Why you need it?

Is your feature request related to a problem? Please describe in details
目前当加入了globaltransational或者xid传递后,就会自动开启xa事务,如果有@transactional(isReadOnly=true)时或手动将connection设置readonly,应该不开启xa的事务,因为这可能只是一个本地事务,或者只读事务

How it could be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

Add any other context or screenshots about the feature request here.

相关问题