Caused by: java.lang.IllegalStateException: There is no normal TM.
- Langage dominant
- Java
- Étoiles
- 4.2k
- Forks
- 1.4k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
- [ ] I have searched the [issues](https://github.com/codingapi/tx-lcn/issues) of this repository and believe that this is not a duplicate.
### 1. Bug Description
通常出现这个错误是因为对应的事务注册中心挂掉了或者是没有配置下面这段代码:
```
tx-lcn.manager.host=0.0.0.0
```
但我此次该配置的都全部配置了但还是报错,导致项目无法启动。
我配置了集群,关键代码如下:
```
tx-lcn:
client:
manager-address: 127.0.0.1:8070,127.0.0.1:8171
springcloud:
loadbalance:
enabled: true
```
但我关闭其中的8171节点的时候就会出现这个错误。
正常集群来说,一个节点挂掉了,转向另外一个节点,也能保持正常运行。
查询了官方文档,如图所示:

不太明白。难道我配置了两个节点,其中一个节点挂掉了,另外一个项目就起不来呢?
### 2. Environment:
- JDK version:1.8
- OS:centos7.8
- TX-LCN version:5.0.2
- Others:
### 3. Exception Stacktrace
```
Paste your Exception Stacktrace here!
```
### 4. Tour Idea
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by reviewing the TX-LCN 5.0.2 manager cluster configuration, especially tx-lcn.client.manager-address and the documented tx-lcn.manager.host setting. Reproduce the startup failure on JDK 1.8 and CentOS 7.8 by stopping the 8171 node while 8070 remains available; done means the application continues to start and operate through the surviving manager.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, spring
- Domaine
- distributed-systems
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100