apache / apache/incubator-seata

replace into xxTable 的mysql语句不支持回滚吗?

Open
#3,663 1 comment 0 reactions 0 assignees View on GitHub
task: help-wanted
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

replace into xxTable , 异常没油数据回滚。

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

1. 在分支事务 执行的 sql是 replace into xxTable xxx
2. 然后在 bussiness服务 制造异常
3. 事务没有回滚,分支也没有错误信息。

是因为 replace into xxTable 目前不支持吗?

### Ⅵ. Environment:

- JDK version : openjdk 15
- OS : centos
- Others: mysql5.7
- seata: 1.4.1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported branch transaction on Seata 1.4.1 with MySQL 5.7 and a REPLACE INTO statement, then trigger the business-service exception described in the issue. Trace the branch transaction rollback and error handling for this statement. Done means the branch rolls back its data and reports an error, or the issue is documented as unsupported with a clear explanation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mysql
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.