Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove legacy tokenSlot of resource group bucket #7346

Open
guo-shaoge opened this issue Nov 10, 2023 · 2 comments · Fixed by #7344
Open

remove legacy tokenSlot of resource group bucket #7346

guo-shaoge opened this issue Nov 10, 2023 · 2 comments · Fixed by #7344
Labels

Comments

@guo-shaoge
Copy link
Contributor

Enhancement Task

Normally when node step out gracefully(got SIGTERM etc), it will send last acquire grpc, so PD will cleanup its slot token.

But when node crash unexpctedly or got SIGKILL(which cannot be handled), it will have no chance to send last acquire grpc, so its corresponding slot token will leave here forever, which makes fillrate/burstLimit be less.

@CabinfeverB CabinfeverB added needs-type Indicates an issue requires a type label. type/bug The issue is confirmed as a bug. and removed type/bug The issue is confirmed as a bug. may-affects-5.3 may-affects-5.4 may-affects-6.1 may-affects-6.5 affects-7.1 affects-7.5 labels Nov 10, 2023
@ti-chi-bot ti-chi-bot bot removed the needs-type Indicates an issue requires a type label. label Nov 10, 2023
@CabinfeverB
Copy link
Member

IMO, the weight we use is a quadratic function, if the load gap between clients is too large, it will still give too much to the low-load client. 0 is a limiting case.
We can solve some problems with 7344 first, but there may still be problems with other scenarios.

@CabinfeverB
Copy link
Member

after #7344, change it to minor

ti-chi-bot bot pushed a commit that referenced this issue Nov 10, 2023
ti-chi-bot bot added a commit that referenced this issue Dec 11, 2023
close #7346

Signed-off-by: guo-shaoge <[email protected]>

Co-authored-by: guo-shaoge <[email protected]>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Need Triage
Development

Successfully merging a pull request may close this issue.

3 participants