Skip to content

Fix slot chain links for shared slots#3615

Open
mzl2233 wants to merge 1 commit into
alibaba:1.8from
mzl2233:fix-processor-slot-singleton
Open

Fix slot chain links for shared slots#3615
mzl2233 wants to merge 1 commit into
alibaba:1.8from
mzl2233:fix-processor-slot-singleton

Conversation

@mzl2233
Copy link
Copy Markdown

@mzl2233 mzl2233 commented May 14, 2026

This updates the default processor slot chain so a shared slot instance no longer has its next pointer overwritten when it is added to multiple chains. The chain now keeps its own link node for each added slot and delegates processing to the original slot, preserving each chain’s local successor. A regression test covers building two chains with the same slot instance followed by different downstream slots.

Test: mvn -pl sentinel-core -Dtest=DefaultSlotChainBuilderTest test could not be run in this environment because mvn is not installed.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@LearningGp
Copy link
Copy Markdown
Collaborator

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants