apache / apache/incubator-seata

1.1 1.2 自动代理数据源失败

Open
#2,592 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.

### Ⅰ. Issue Description
1.1 1.2 版本自动代理数据源失败
导致server端resourceIds 为null,后续事务回滚失败

### Ⅱ. Describe what happened

![image](https://user-images.githubusercontent.com/9611542/79949792-ae306200-84a8-11ea-81f6-c16d68f7075e.png)

### Ⅲ. Describe what you expected to happen

### Ⅳ. How to reproduce it (as minimally and precisely as possible)

seata:
enabled: true
application-id: ${spring.application.name}
tx-service-group: my_tx_group
registry:
type: nacos
nacos:
cluster: default
server-addr: 127.0.0.1:8848
namespace: 7eb28e8d-b2a0-466f-b48d-7528067b518f
group: SEATA_REG_GROUP
service:
vgroup-mapping:
my_tx_group: default
config:
type: nacos
nacos:
namespace: 7eb28e8d-b2a0-466f-b48d-7528067b518f
serverAddr: 127.0.0.1:8848
group: SEATA_CONFIG_GROUP

### Ⅴ. Anything else we need to know?

### Ⅵ. Environment:

- JDK version : 1.8
- OS : window10

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with the Seata, Nacos, and Spring configuration shown in the issue on JDK 1.8 and Windows 10. Investigate why the server-side resourceIds is null during automatic datasource proxying; done means the resourceIds is populated and subsequent transaction rollback succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.