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

Archive Node Stuck on ValidatorDelegations Query #8278

Open
czarcas7ic opened this issue May 18, 2024 · 0 comments
Open

Archive Node Stuck on ValidatorDelegations Query #8278

czarcas7ic opened this issue May 18, 2024 · 0 comments
Assignees

Comments

@czarcas7ic
Copy link
Member

czarcas7ic commented May 18, 2024

Background

Our Archive node that is open to public traffic was halting regularly. When looking into the pprofs, it seemed like it was getting caught every time on a specific query, which was the ValidatorDelegations query. When looking at how the query was paginated, it seems like there is a difference between sdk 47 and sdk 50 versions of this query. Here are the pprofs:

CPU1: https://drive.google.com/file/d/1IYCqp-pd-p644mEmjunYaWkVkVvXMd7v/view?usp=sharing
Heap1: https://drive.google.com/file/d/1CvYNFPkG5nSLGZYNyqXO9Dyonf_JLUjH/view?usp=sharing

CPU2: https://drive.google.com/file/d/1GhNPJYyCOMewjc2gQ-TbIADIOvmWedAD/view?usp=sharing
Heap2: https://drive.google.com/file/d/1vMWtG2dxKOOxN9I3XqoVMVz0v_X9Dx3_/view?usp=sharing

When closing the node to public traffic, the node has not halted since.

Suggested Design

I think we should attempt to use the sdk 50 version of the ValidatorDelegations query (specifically the pagination logic) to see if that helps. If it doesn't, further investigation will need to be made on why this query causes the archive node to stop.

@czarcas7ic czarcas7ic self-assigned this Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage 🔍
Development

No branches or pull requests

1 participant