You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "funky-eyes (via GitHub)" <gi...@apache.org> on 2024/05/24 16:07:18 UTC

[I] TCC mode two stage cannot be executed [incubator-seata]

funky-eyes opened a new issue, #6579:
URL: https://github.com/apache/incubator-seata/issues/6579

   <!-- Please do not use this issue template to report security vulnerabilities but refer to our [security policy](https://github.com/seata/seata/security/policy). -->
   
   - [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
   
   ### Ⅰ. Issue Description
   https://github.com/apache/incubator-seata/pull/5153 
   这个pr导致了2.0 tcc和2.1server不兼容
   1. 2.0的分支注册在tm侧,这个pr限制了只有at模式才允许去找其他的channel尝试下发
   2. 2.1将分支注册锁定在rm侧,tm和rm的application是不同的,所以2.0注册的分支,在升级的过程中,也无法下发到2.1的rm侧去完成
   3. 这个pr为的就是防止相同的resourceid实则不同的应用,然后下发到了另一个应用去导致异常的情况. 
   
   This pr caused 2.0 tcc and 2.1 server incompatibility
   The branch of 2.0 is registered on the tm side. This pr restricts that only at mode is allowed to find other channels to try to deliver.
   2.1 locks the branch registration on the rm side, the application of tm and rm is different, so the branch registered in 2.0 cannot be sent to the rm side of 2.1 to complete during the upgrade process
   The purpose of this pr is to prevent the same resourceid from being used in different applications, and then send it to another application to cause an exception.
   ### Ⅱ. Describe what happened
   
     If there is an exception, please attach the exception trace:
   
   ```
   Just paste your stack trace here!
   ```
   
   
   ### Ⅲ. Describe what you expected to happen
   
   
   ### Ⅳ. How to reproduce it (as minimally and precisely as possible)
   
   1. xxx
   2. xxx
   3. xxx
   
   Minimal yet complete reproducer code (or URL to code):
   
   
   
   ### Ⅴ. Anything else we need to know?
   
   
   ### Ⅵ. Environment:
   
   - JDK version(e.g. `java -version`):
   - Seata server version:  2.1.0-SNAPSHOT
   - Database version:
   - OS(e.g. `uname -a`):
   - Others:


-- 
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.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


Re: [I] TCC mode two stage cannot be executed [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #6579:
URL: https://github.com/apache/incubator-seata/issues/6579#issuecomment-2254546112

   我建议将这个otherApp的入参从isAT,改为一个配置项,以便向下兼容
   I suggest changing the imported parameter of otherApp from isAT to a configuration item for backward compatibility


-- 
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