Global Admission Controller return Nan tokens
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
## Bug Report
### What did you do?
The TiFlash local bucket continuously requests tokens from PD (GAC) to refill itself.
However, since the number of tokens returned by PD (GAC) is **NaN**, tiflash cannot refill its local bucket.
As a result, the TiFlash local bucket eventually runs out of tokens, causing queries to be completely throttled and stuck.
Following is the tiflash log that checks tokens returned from PD is not greater than zero.

Following is the tiflash log that log the PD resp, which show the tokens is Nan.

### What did you expect to see?
### What did you see instead?
### What version of PD are you using (`pd-server -V`)?
v7.5.3
Contributor guide
Assessment
This issue has not been assessed yet.