apache / apache/incubator-seata-samples
seata分布式事务支持设置多个ip数据库吗?
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
部署情况;三台mysql服务器,分别是10,11,12;注册中心eureka;
想用seata-server做集群,seata-server下面的conf目录下file.conf怎么设置db;
client端怎么对应设置多节点seata-server?
目前发现启动两个seata-server作为一个集群,file.conf中db设置ip一致,可以实现其中之一挂掉;事务照样回滚;但是,2个seata-server分别使用不同ip时,无法回滚、
Contributor guide
Research direction
Start with the seata-server conf/file.conf database settings and the client configuration for multiple seata-server nodes. Reproduce the reported setup with two servers using the same database IP, then with different IPs, and compare whether transaction rollback succeeds. Done means documenting the required configuration or confirming a fix for rollback when the server nodes use different database IPs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- backend, databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100