apache / apache/incubator-seata

update 前执行了多次 select

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

Description

环境: seata 1.3.0
业务数据库使用:oracle
业务代码为:DELETE FROM SYS_DEPT WHERE DEPT_ID=125
加入seata @GlobalTransactional 后,先执行了3次select
![image](https://user-images.githubusercontent.com/31121717/89021935-d8b97300-d353-11ea-87bf-3fc8a23b4fad.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the report using Seata 1.3.0, an Oracle business database, and the DELETE statement shown in the issue inside a @GlobalTransactional method. Compare the SQL activity before and after adding the annotation, using the attached screenshot as the reported behavior. Done means identifying why three SELECT statements run before the update and confirming the behavior or its correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, 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.