apache / apache/incubator-seata
seata have commit failed when commit request and rollback request run on the same time
- 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
100 commit request and 100 rollback request at the same time ,
some commit request have failed
### Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
```
Just paste your stack trace here!
```
### Ⅲ. Describe what you expected to happen
### Ⅳ. How to reproduce it (as minimally and precisely as possible)
1. run seata-samples: springcloud-jpa-seata
100 commit request and 100 rollback request at the same time ,
some commit request have failed
2. registry.type = "file" or registry.type = "eureka"
3, store.mode = " db" lock. mode = "db"
### Ⅴ. Anything else we need to know?
### Ⅵ. Environment:
- JDK version :8
- OS :win10
- Others:seata0.6.1
Contributor guide
Research direction
Start with the seata-samples springcloud-jpa-seata sample and reproduce 100 concurrent commit and rollback requests using file or Eureka registry with DB store and lock modes. Investigate the reported commit failures on Seata 0.6.1; done means the concurrent requests complete without the described commit failures and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100