Does Shardingsphere version 5.4.0 support seata transaction tcc mode? #32023
Replies: 5 comments 5 replies
-
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
Beta Was this translation helpful? Give feedback.
-
Hi @linghengqian, I believe TCC and Seata (AT) do not conflict with each other. The databases involved in TCC should not be proxied by Seata's DataSourceProxy. If DataSourceProxy is used, it requires adding @GlobalLock + @transactional annotations and using select ... for update statements to first retrieve data before updating. Based on different business scenarios and transactional patterns used, different sets of data tables are employed. Therefore, I see no inherent conflict between the two. TCC belongs to the business layer of transactional patterns, whereas AT (Seata) pertains to transactional patterns at the data layer. Given that ShardingSphere is also considered middleware for the data layer, I do not see any points of conflict between TCC and ShardingSphere. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Question
For English only, other languages will not accept.
Before asking a question, make sure you have:
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Does Shardingsphere version 5.4.0 support seata transaction tcc mode?
Beta Was this translation helpful? Give feedback.
All reactions