You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@seata.apache.org by "dajiao918 (via GitHub)" <gi...@apache.org> on 2025/08/06 02:46:04 UTC

[D] upgrade seata 1.5.2 to 2.4 [incubator-seata]

GitHub user dajiao918 created a discussion: upgrade seata 1.5.2 to 2.4

Is it possible to perform a smooth upgrade from Seata version 1.5.2 to version 2.4? Will the client using 1.5.2 be compatible with the server using 2.4? What should I pay attention to when upgrading?



GitHub link: https://github.com/apache/incubator-seata/discussions/7573

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org


Re: [D] upgrade seata 1.5.2 to 2.4 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
GitHub user funky-eyes added a comment to the discussion: upgrade seata 1.5.2 to 2.4

https://seata.apache.org/docs/next/ops/upgrade/

GitHub link: https://github.com/apache/incubator-seata/discussions/7573#discussioncomment-14015963

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org


Re: [D] upgrade seata 1.5.2 to 2.4 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
GitHub user funky-eyes added a comment to the discussion: upgrade seata 1.5.2 to 2.4

If you are using the @LocalTCC annotation, it must still be placed in the implementation class. If @LocalTCC is not used and the provider is Dubbo or SOFA-RPC, the consumer side will bypass the proxy. In this case, only the provider will handle branch registration and the two-phase commit or rollback.

GitHub link: https://github.com/apache/incubator-seata/discussions/7573#discussioncomment-14017764

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org


Re: [D] upgrade seata 1.5.2 to 2.4 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
GitHub user funky-eyes added a comment to the discussion: upgrade seata 1.5.2 to 2.4

This is backward compatible, but the TCC changes are on the client side, so simply upgrading the server alone cannot resolve this issue.

GitHub link: https://github.com/apache/incubator-seata/discussions/7573#discussioncomment-14017060

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org


Re: [D] upgrade seata 1.5.2 to 2.4 [incubator-seata]

Posted by "dajiao918 (via GitHub)" <gi...@apache.org>.
GitHub user dajiao918 added a comment to the discussion: upgrade seata 1.5.2 to 2.4

我也看了这个文档,发现有这个兼容性事项需要注意
* 注解@LocalTCC要修饰在实现类上,注解@TwoPhaseBusinessAction要修饰在实现类方法prepare上。

但是升级的话 肯定要升级服务端到2.4,此时客户端如果仍然是 1.5.2,这时分布式事务是否会受影响呢?

GitHub link: https://github.com/apache/incubator-seata/discussions/7573#discussioncomment-14016232

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org


Re: [D] upgrade seata 1.5.2 to 2.4 [incubator-seata]

Posted by "dajiao918 (via GitHub)" <gi...@apache.org>.
GitHub user dajiao918 closed a discussion: upgrade seata 1.5.2 to 2.4

Is it possible to perform a smooth upgrade from Seata version 1.5.2 to version 2.4? Will the client using 1.5.2 be compatible with the server using 2.4? What should I pay attention to when upgrading?



GitHub link: https://github.com/apache/incubator-seata/discussions/7573

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org


Re: [D] upgrade seata 1.5.2 to 2.4 [incubator-seata]

Posted by "dajiao918 (via GitHub)" <gi...@apache.org>.
GitHub user dajiao918 added a comment to the discussion: upgrade seata 1.5.2 to 2.4

> This is backward compatible, but the TCC changes are on the client side, so simply upgrading the server alone cannot resolve this issue.

也就是说如果升级服务端到2.4,客户端使用1.5.2版本 API也是兼容的;但是如果客户端也升级到了2.4版本,那么就需要将注解修饰在实现类上?
另外 2.4版本推荐升级吗,我看现在最新版本是2.5了,还是推荐升级到2.5呢?

GitHub link: https://github.com/apache/incubator-seata/discussions/7573#discussioncomment-14017677

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org