You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "PeppaO (via GitHub)" <gi...@apache.org> on 2024/12/28 07:13:45 UTC
[I] bugfix: In raft mode, the service domain name is used as xid. The xid is too long and an error occurs in XA mode. [incubator-seata]
PeppaO opened a new issue, #7082:
URL: https://github.com/apache/incubator-seata/issues/7082
<!-- 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
<img width="790" alt="image" src="https://github.com/user-attachments/assets/385d7ecf-9d7c-4f30-aba2-473f3e53ac3e" />
### Ⅱ. 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`): 1.8
- Seata client/server version: 2.x
- Database version: mysql 8.0.27
- 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] bugfix: In raft mode, the service domain name is used as xid. The xid is too long and an error occurs in XA mode. [incubator-seata]
Posted by "slievrly (via GitHub)" <gi...@apache.org>.
slievrly commented on issue #7082:
URL: https://github.com/apache/incubator-seata/issues/7082#issuecomment-2567252874
@PeppaO Are you sure it's not a special character? This length limit is usually 132 characters, although it may vary depending on the version.
--
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
Re: [I] bugfix: In raft mode, the service domain name is used as xid. The xid is too long and an error occurs in XA mode. [incubator-seata]
Posted by "PeppaO (via GitHub)" <gi...@apache.org>.
PeppaO closed issue #7082: bugfix: In raft mode, the service domain name is used as xid. The xid is too long and an error occurs in XA mode.
URL: https://github.com/apache/incubator-seata/issues/7082
--
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
Re: [I] bugfix: In raft mode, the service domain name is used as xid. The xid is too long and an error occurs in XA mode. [incubator-seata]
Posted by "PeppaO (via GitHub)" <gi...@apache.org>.
PeppaO commented on issue #7082:
URL: https://github.com/apache/incubator-seata/issues/7082#issuecomment-2568709565
> @PeppaO Are you sure it's not a special character? This length limit is usually 132 characters, although it may vary depending on the version.
error: xa start "seata-server-0.seata-svc-headless.default.svc.cluter.local:8091:8269208701573369857";
correct: xa start "s-0.svc-l.default.svc.cluster.local:8091:1784025255588331521";
I think its maximum length can be 64.
--
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
Re: [I] bugfix: In raft mode, the service domain name is used as xid. The xid is too long and an error occurs in XA mode. [incubator-seata]
Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #7082:
URL: https://github.com/apache/incubator-seata/issues/7082#issuecomment-2572391224
我认为应该将xa的xid设定为transactionId和branchid的组合,而不是xid和branchid,理论上transactionid和branchid都是唯一的,更加精简,也更合适作为xa xid。但是需要考虑如何向下兼容。
I believe the XA XID should be set as a combination of the transactionId and branchId, rather than the XID and branchId. In theory, both the transactionId and branchId are unique, making this combination more concise and better suited as the XA XID. However, it is necessary to consider how to maintain backward compatibility.
@slievrly
--
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