You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "13333713052 (via GitHub)" <gi...@apache.org> on 2024/04/08 05:37:08 UTC
Re: [I] seata-all 1.6.1 at模式,在断点处等待会触发两次全局回滚的bug [incubator-seata]
13333713052 commented on issue #5386:
URL: https://github.com/apache/incubator-seata/issues/5386#issuecomment-2041901576
> > > @ulwx Logs are printed in different threads, and the log time difference is greater than 2 minutes and 10 seconds, which is caused by the delay deletion mechanism.
> >
> >
> > 感觉还是有问题,我调试了很多次,发现还是触发两次回滚,第一次回滚成功后,global_table里全局记录没有删除处于rollbacking状态,然后再等待2分钟的时间,又会回滚一次,这次才把global_table里全局记录删除。为什么要回滚两次才删除,为什么花费这么长时间?
>
> slievrly has already answered this question, the two rollbacks are because of the asynchronous deletion mechanism. Global transactions will not be deleted immediately, but this does not affect business usage.
我也遇到了,为什么这样延迟删除呢,lock_table的row_key是主键,会造成其他操作同一条数据的全局事务2分钟内无法使用
--
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: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org