seata lock table的rowKey加上对应记录的列名,更细粒度控制这把分布式锁

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

Why you need it?

Is your feature request related to a problem? Please describe in details
全局事务A 修改表B中id为1的b1和b2字段
全局事务B 修改表B中id为1的b3和b4字段
若全局事务A在执行记录修改后未结束,则全局事务B中的修改无法开始,如果能将锁的标识在加上修改的列名,那么就可以让这两个同时进行。

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.

相关问题