funky-eyes commented on issue #6215:
URL: 
https://github.com/apache/incubator-seata/issues/6215#issuecomment-1869222358

   
如果是分布式数据库时差问题请反馈给分布式数据库相关社区或厂商,seata没有使用数据库的序列,自带的雪花算法不是全局顺序的,是局部有序的,当然在1.5.2以上按照xid负载均衡的话,这个事务一定是有序的,因为都会注册在同一个tc中。数据库层面seata使用的都是now()这个函数,应该由分布式数据库自行保证时钟问题。
   If it is a distribution database time difference problem, please give 
feedback to the distribution database related community or manufacturer. Seata 
does not use the database sequence. The snowflake algorithm that comes with it 
is not globally ordered, but locally ordered. Of course, according to xid load 
balancing above 1.5.2, this transaction must be orderly, because it will be 
registered in the same tc. The database level seata uses the now () function, 
and the distribution database should guarantee the clock problem by itself.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to