apache / apache/incubator-seata
数据库连接配置为MySQL-Router双节点配置时问题
Open
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description

## 当数据库连接配置为jdbc:mysql//router1:port1,router2:port2/db时,将出现如上图所示异常。
从源码看,推测io.seata.core.rpc.ChannelManager#registerRMChannel方法逻辑中有使用逗号分隔资源id存在bug。
Contributor guide
Research direction
Start with io.seata.core.rpc.ChannelManager#registerRMChannel and reproduce the exception using a JDBC MySQL URL containing router1:port1,router2:port2/db, as described in the issue and screenshot. Trace how comma-separated resource IDs are handled; done means the dual MySQL-Router configuration no longer produces the reported exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100