codingapi / codingapi/tx-lcn

作者赶快解决下客户端集群存在的问题

Ouverte
#396 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
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
当客户端集群时会存在如下问题:
1.参与方加入事务组和tm通知事务单元到参与方时,无法保证是同一个参与方,该问题是很严重的;
2.存在这样的业务场景:参与方调用了发起方,那么在集群的情况下,就会存在参与方调用的发起方不是起始调用该参与方的那个发起方。

### 2. Environment:
- JDK version:
- OS:
- TX-LCN version: 5.0.2RELEASE
- Others:

### 3. Exception Stacktrace

```
Paste your Exception Stacktrace here!
```

### 4. Tour Idea
经本人加入交流群沟通和实际使用,发现客户端集群的问题已经严重影响到该框架的正常功能和后续迭代使用问题,请作者抽时间尽快解决,加油。
第一个问题:可以通过机器的IP+端口来识别每个实例,现在用的是模块名加端口,这样会导致集群出问题,因为在实际的集群环境中多实例的端口肯定都是一样的。
第二个问题:考虑到循环调用的场景。

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

The report names no files, tests, or entry points. Start by tracing client-cluster participant registration and TM notification flows, then reproduce both reported scenarios: mismatched participant instances and calls returning to the wrong initiator. Done means both scenarios are resolved and covered by an agreed validation approach.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
backend, distributed-systems
Type d'issue
Bug
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.