tikv / tikv/pd

Global Admission Controller return Nan tokens

Open
#9,455 3 comments 0 reactions 0 assignees View on GitHub
affects-7.5 affects-8.1 affects-8.5 affects-9.0 component/resource-control report/customer severity/major type/bug
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.
![Image](https://github.com/user-attachments/assets/fa15c5b4-b5e8-4928-865b-902cfb129942)

Following is the tiflash log that log the PD resp, which show the tokens is Nan.
![Image](https://github.com/user-attachments/assets/ac2c2878-27f2-47b6-8f78-c26fe2dd4599)

### 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.