alibaba / alibaba/Sentinel

同一个线程多次获取资源,NodeSelectorSlot类中的DefaultNode的curThreadNum会不断增加,是不是有问题?

Open
#1,881 1 comment 0 reactions 0 assignees View on GitHub
kind/question
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/20243645/100823014-6b972500-348e-11eb-8d6c-4b6be40cf6cd.png)

Contributor guide

Open the contributing guide

Research direction

Start by reading the NodeSelectorSlot and DefaultNode classes, then inspect the attached reproduction image and the issue's existing comment. Determine whether repeated resource acquisition by the same thread is expected to change DefaultNode.curThreadNum. Done means the counter behavior is explained with a reproducible expected-versus-actual result and a confirmed resolution path.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
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.