事务被回滚
- Lenguaje dominante
- Java
- Estrellas
- 4.2k
- Forks
- 1.4k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
我现在有一个tx-manager(a)在测试环境上,一个服务b一个服务c,b通过feign调用c,正常情况下没问题。有一次同事不小心在本地调试服务c的时候把c1注册到了tx-manager上,这时候tx-manger能看见有两个c的服务实例,同事的c1服务用的的数据库是一个本地数据库而非测试数据库,而且c1并不能被网关或者其它服务访问到,也没有注册到eruke中,但是这时候却出了一个很奇怪的问题,正常的测试环境上的b调用c的调用都被回滚了,通过c的log能够清楚的看到update xxx = 3执行成功,但是实际情况是数据库的值马上又被变回去了,服务b和c都没有任何异常却出现了回滚,这时候把同事的本地服务c关掉一切又恢复正常了。
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
The report names no source files, tests, or entry points. Start by reproducing the topology with tx-manager, services b and c, and an extra local c1 instance, then trace transaction registration and rollback decisions. Done means the cause of the unexpected rollback is identified and a clearly scoped fix or reproduction result is recorded.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- backend, distributed-systems
- Tipo de issue
- Error
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 15/100