apache / apache/incubator-seata

GlobalTransactionScanner 多例bean问题

Open
#6,568 10 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

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

### Ⅰ. Issue Description
在sprigboot中对注解的目标类进行代理时,为啥需要判断PROXYED_SET,如果是多例bean,每次都返回的都是原始对象,而非代理对象
image

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Spring Boot annotation-target proxying logic around PROXYED_SET and reproduce the reported behavior with a multi-instance bean. Review the issue discussion and determine whether each bean lookup should return a proxy rather than the raw object; done requires an agreed behavior and a regression test for multi-instance beans.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
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.