apache / apache/incubator-seata

Executor执行器中beforeImage和afterImage方法返回值只考虑了sql语句涉及一张表的情况,无法承接涉及多张表的SQL语句,如MultiUpdateExecutor

Open
#4,975 0 comments 0 reactions 1 assignee Claimed by @renliangyu857 View on GitHub
task: help-wanted
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

## Why you need it?
Is your feature request related to a problem? Please describe in details
1664809498717
这里的beforeImage只考虑了一张表,但像MultiExecutor这种可能涉及多张表,目前是在内部通过维护map结构实现的,返回值是null,语义上不太明确。可考虑beforeImage的抽象方法返回值定义为泛型,由各个子类根据实际情况承接不同的返回值
1664809577085

## How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

## Other related information
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.