apache / apache/incubator-seata

What is PROXYED_SET in GlobalTransactionScanner used for?

Open
#6,352 3 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

PROXYED_SET appears in the GlobalTransactionScanner#wrapIfNecessary,what is it used for? The if branch in the following figure never seems to be accessed @slievrly
![image](https://github.com/apache/incubator-seata/assets/77573225/0f118b74-1677-43b9-8b45-5c7e01bd929c)

Contributor guide

Open the contributing guide

Research direction

Start at GlobalTransactionScanner#wrapIfNecessary and trace every reference to PROXYED_SET, including the condition containing the reported if branch. Check the surrounding scanner and proxying behavior to determine when the set is populated or consulted. Done means documenting its purpose and why the branch may be unreachable, or identifying a reproducible issue if that behavior is unintended.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.